From df4430fa53943d01e462d2965357c3d1f3a9ae19 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 11 Dec 2018 18:26:11 -0700 Subject: [PATCH] Update iptables.sh --- debian/resources/iptables.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/resources/iptables.sh b/debian/resources/iptables.sh index 50bb827..d8e7827 100755 --- a/debian/resources/iptables.sh +++ b/debian/resources/iptables.sh @@ -18,6 +18,13 @@ iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "sipcli/" 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 -j DROP -p udp --dport 5060:5091 -m string --string "pplsip" --algo bm +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 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT