forked from norman/fusionpbx-install.sh-github-mirror
Update jail.local
This commit is contained in:
6
debian/resources/fail2ban/jail.local
vendored
6
debian/resources/fail2ban/jail.local
vendored
@@ -89,14 +89,14 @@ maxretry = 10
|
|||||||
findtime = 600
|
findtime = 600
|
||||||
bantime = 600
|
bantime = 600
|
||||||
|
|
||||||
[fusionpbx-invalid-mac]
|
[fusionpbx-mac]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 80,443
|
port = 80,443
|
||||||
protocol = tcp
|
protocol = tcp
|
||||||
filter = fusionpbx-invalid-mac
|
filter = fusionpbx-invalid-mac
|
||||||
logpath = /var/log/syslog
|
logpath = /var/log/syslog
|
||||||
action = iptables-multiport[name=fusionpbx-invalid-mac, port="http,https", protocol=tcp]
|
action = iptables-multiport[name=fusionpbx-mac, port="http,https", protocol=tcp]
|
||||||
# sendmail-whois[name=fusionpbx-invalid-mac, dest=root, sender=fail2ban@example.org] #no smtp server installed
|
# sendmail-whois[name=fusionpbx-mac, dest=root, sender=fail2ban@example.org] #no smtp server installed
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
findtime = 600
|
findtime = 600
|
||||||
bantime = -1
|
bantime = -1
|
||||||
|
|||||||
Reference in New Issue
Block a user