This is an old revision of the document! iptables Accept a Port/range # iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT