mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Update fail2ban config file path in kejilion.sh
This commit is contained in:
parent
5d8ab0d1c3
commit
377e3c090e
1 changed files with 1 additions and 1 deletions
|
@ -3063,7 +3063,7 @@ f2b_install_sshd() {
|
|||
fi
|
||||
|
||||
rm -f /path/to/fail2ban/config/fail2ban/jail.d/sshd.conf
|
||||
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /etc/fail2ban/jail.conf
|
||||
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /path/to/fail2ban/config/fail2ban/jail.conf
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue