diff --git a/ubuntu/resources/iptables.sh b/ubuntu/resources/iptables.sh index e53f4ca..a12ce7c 100755 --- a/ubuntu/resources/iptables.sh +++ b/ubuntu/resources/iptables.sh @@ -22,6 +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 --icase iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "exec." --algo bm --icase iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "exec." --algo bm --icase +iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "system " --algo bm --icase +iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "system " --algo bm --icase iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "multipart/mixed;boundary" --algo bm --icase iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "multipart/mixed;boundary" --algo bm --icase iptables -A INPUT -p tcp --dport 22 -j ACCEPT