This is an old revision of the document!
Command | Function |
---|---|
iptables -L | List all rules |
iptables -L --line-numbers | List all rules with numbers |
iptables -L -w | Use -w if iptables is already in use, your command will retry until the proc is unlocked |