# switch -L : List all # switch -D : drop a defined rule #// iptables -D INPUT 2 would drop the second rule in the list # # A valid input chain to allow all on port 80 would look like this: # // iptables -A INPUT -p tcp --dport 80 -j ACCEPT # this means all traffic on tcp port 80 is accepted # # # # lso I would recommend apt-get install iptables-persistent to help save and reload the rules automatically.