From 78c0993d9c10c942632384acb093887343857079 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 8 Jun 2019 00:26:08 -0600 Subject: [PATCH] Update iptables.sh --- ubuntu/resources/iptables.sh | 2 ++ 1 file changed, 2 insertions(+) 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