Update iptables.sh

This commit is contained in:
FusionPBX 2018-12-12 09:43:29 -07:00 committed by GitHub
parent 12150e1775
commit cade7ed139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ iptables -A INPUT -j DROP -p udp --dport 5060:5091 -m string --string "exec." --
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 "system" --algo bm
iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "system" --algo bm
iptables -A INPUT -j DROP -p sip --dport 5060:5091 -m string --string "multipart/mixed;boundary" --algo bm
iptables -A INPUT -j DROP -p tcp --dport 5060:5091 -m string --string "multipart/mixed;boundary" --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