IPtables command examples

iptables -a input -p tcp -dport 80 -j accept - add port 80 to allowed ports