|
@@ -13,8 +13,11 @@ verbose "Configuring IPTables"
|
|
|
iptables -A INPUT -i lo -j ACCEPT
|
|
|
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
|
|
|
iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "friendly-scanner" --algo bm
|
|
|
+iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "friendly-scanner" --algo bm
|
|
|
iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "sipcli/" --algo bm
|
|
|
+iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "sipcli/" --algo bm
|
|
|
iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "VaxSIPUserAgent/" --algo bm
|
|
|
+iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "VaxSIPUserAgent/" --algo bm
|
|
|
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
|
|
|
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
|
|
|
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
|