Delete single iptables rules

You can delete them based on what they're doing:
iptables -D INPUT -s 127.0.0.1 -p tcp --dport 111 -j ACCEPT

Or you can delete them based on their number and chain name:
iptables -D PORTSEN 4

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/02/09/delete-single-iptables-rules/ .
© Major Hayden 2010.

Leave a Reply