Sietse van Zanen a écrit :
I strongly suggest John and anyone lists iptables rules with> iptables-save instead of iptables -L.Or iptables -L -n -v would do fine too, I think.
IMHO iptables-save has some advantages over iptables -nvL : - lists all loaded tables in one command unless specified otherwise - output format is similar to the iptables syntax - output format is more compact (simple rules can fit in 80 columns).