jail.local disable the ip ban by default

I think this is stopping beginners. Easy to enable.
This commit is contained in:
FusionPBX 2017-01-15 00:54:59 -07:00 committed by GitHub
parent beb3d1eb1b
commit e9a1ed3038
1 changed files with 20 additions and 20 deletions

View File

@ -22,27 +22,27 @@ findtime = 600
bantime = 600 bantime = 600
# sendmail-whois[name=FreeSwitch, dest=root, sender=fail2ban@example.org] #no smtp server installed # sendmail-whois[name=FreeSwitch, dest=root, sender=fail2ban@example.org] #no smtp server installed
[freeswitch-ip-tcp] #[freeswitch-ip-tcp]
enabled = true #enabled = true
port = 5060,5061,5080,5081 #port = 5060,5061,5080,5081
protocol = all #protocol = all
filter = freeswitch-ip #filter = freeswitch-ip
logpath = /var/log/freeswitch/freeswitch.log #logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-ip-tcp, port="5060,5061,5080,5081", protocol=tcp] #action = iptables-multiport[name=freeswitch-ip-tcp, port="5060,5061,5080,5081", protocol=tcp]
maxretry = 1 #maxretry = 1
findtime = 30 #findtime = 30
bantime = 86400 #bantime = 86400
[freeswitch-ip-udp] #[freeswitch-ip-udp]
enabled = true #enabled = true
port = 5060,5061,5080,5081 #port = 5060,5061,5080,5081
protocol = all #protocol = all
filter = freeswitch-ip #filter = freeswitch-ip
logpath = /var/log/freeswitch/freeswitch.log #logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-ip-udp, port="5060,5061,5080,5081", protocol=udp] #action = iptables-multiport[name=freeswitch-ip-udp, port="5060,5061,5080,5081", protocol=udp]
maxretry = 1 #maxretry = 1
findtime = 30 #findtime = 30
bantime = 86400 #bantime = 86400
[freeswitch-dos-udp] [freeswitch-dos-udp]
enabled = true enabled = true