diff --git a/debian/resources/iptables.sh b/debian/resources/iptables.sh index 00f6ac0..c6bed0f 100755 --- a/debian/resources/iptables.sh +++ b/debian/resources/iptables.sh @@ -22,8 +22,8 @@ iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "pplsip" - iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "pplsip" --algo bm iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "script" --algo bm iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "script" --algo bm -iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "exec" --algo bm -iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "exec" --algo bm +iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "exec." --algo bm +iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "exec." --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