The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury
1 3 4 6 7 8 A B D E F G H I J K L M N P R S T
In Ip Is

ipTables

or how to break your server in three commands or less

To see firewall rules:

sudo iptables -L --line-numbers

To delete a line (line #1):

sudo iptables -D FORWARD 1

To see your NAT rules:

sudo iptables -L -t nat --line-numbers

To delete a line (line #6):

iptables -t nat -D PREROUTING 6

See also

This post by Thinkl33t πŸ˜€

Related Articles