Here's an iptables ruleset for a VoIP server with a Web interface. The goals are to allow management hosts to communicate with them freely, allow VoIP and HTTP(S) from the public, and drop everything else. It's designed to be used as /etc/iptables.rules, and loaded with
# iptables-restore < /etc/iptables.rules
In Linux, you're supposed to adjust the firewall at the command line. This implies an ability to retain the firewall ruleset in your head, as well as an ability to type correctly...
Published on May 23, 2011 05:53