forked from norman/fusionpbx-install.sh-github-mirror
Update jail.local
This commit is contained in:
@@ -3,7 +3,8 @@ enabled = true
|
|||||||
port = 5060,5061,5080,5081
|
port = 5060,5061,5080,5081
|
||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch
|
filter = freeswitch
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-multiport[name=freeswitch-udp, port="5060,5061,5080,5081", protocol=udp]
|
action = iptables-multiport[name=freeswitch-udp, port="5060,5061,5080,5081", protocol=udp]
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
findtime = 600
|
findtime = 600
|
||||||
@@ -15,7 +16,8 @@ enabled = true
|
|||||||
port = 5060,5061,5080,5081
|
port = 5060,5061,5080,5081
|
||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch
|
filter = freeswitch
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-multiport[name=freeswitch-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
action = iptables-multiport[name=freeswitch-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
findtime = 600
|
findtime = 600
|
||||||
@@ -28,6 +30,7 @@ bantime = 600
|
|||||||
#protocol = all
|
#protocol = all
|
||||||
#filter = freeswitch-ip
|
#filter = freeswitch-ip
|
||||||
#logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/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
|
||||||
@@ -39,6 +42,7 @@ bantime = 600
|
|||||||
#protocol = all
|
#protocol = all
|
||||||
#filter = freeswitch-ip
|
#filter = freeswitch-ip
|
||||||
#logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/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
|
||||||
@@ -49,7 +53,8 @@ enabled = true
|
|||||||
port = 5060,5061,5080,5081
|
port = 5060,5061,5080,5081
|
||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch-dos
|
filter = freeswitch-dos
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-multiport[name=freeswitch-dos-udp, port="5060,5061,5080,5081", protocol=udp]
|
action = iptables-multiport[name=freeswitch-dos-udp, port="5060,5061,5080,5081", protocol=udp]
|
||||||
maxretry = 50
|
maxretry = 50
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -60,7 +65,8 @@ enabled = true
|
|||||||
port = 5060,5061,5080,5081
|
port = 5060,5061,5080,5081
|
||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch-dos
|
filter = freeswitch-dos
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-multiport[name=freeswitch-dos-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
action = iptables-multiport[name=freeswitch-dos-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
||||||
maxretry = 50
|
maxretry = 50
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -71,7 +77,8 @@ enabled = true
|
|||||||
port = 5060,5061,5080,5081
|
port = 5060,5061,5080,5081
|
||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch-404
|
filter = freeswitch-404
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
#logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=freeswitch-404, protocol=all]
|
action = iptables-allports[name=freeswitch-404, protocol=all]
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
findtime = 300
|
findtime = 300
|
||||||
|
|||||||
Reference in New Issue
Block a user