fusionpbx firewall rules

salzh
Joined: Mon 10 of May, 2010

fusionpbx firewall rules

Posted:Thu 27 of Mar, 2014 (14:43 UTC)
# Generated by iptables-save v1.4.12 on Wed Mar 19 03:04:56 2014
*filter
:INPUT ACCEPT [1:84]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [14853:9401985]
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5060 -j ACCEPT
-A INPUT -p udp -m udp --dport 5060 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5070 -j ACCEPT
-A INPUT -p udp -m udp --dport 5070 -j ACCEPT
-A INPUT -p tcp -s [provider's ip] -m tcp --dport 5080 -j ACCEPT
-A INPUT -p udp -s [provider's ip] -m udp --dport 5080 -j ACCEPT
-A INPUT -p udp -m udp --dport 16384:32768 -j ACCEPT
-A INPUT -s 127.0.0.1/32 -j ACCEPT
-A INPUT -p udp -j DROP
-A INPUT -p tcp -j DROP
COMMIT
# Completed on Wed Mar 19 03:04:56 2014