# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpts:sip:5069
ACCEPT udp -- anywhere anywhere udp dpts:sip:5069
ACCEPT tcp -- anywhere anywhere tcp dpt:5080
ACCEPT udp -- anywhere anywhere udp dpt:5080
ACCEPT udp -- anywhere anywhere udp dpts:16384:32768
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT udp -- anywhere anywhere udp dpt: openvpn
ACCEPT icmp -- anywhere anywhere icmp echo-request
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain SIPDDOS (0 references)
target prot opt source destination
LOG all -- anywhere anywhere LOG level info prefix "firewall-sipddos: "
DROP all -- anywhere anywhere
I have use these settings from
http://fusionpbx-docs.readthedocs.io/en/latest/firewall/iptables.html#basic-rules