iptables -F

Alessandro O. Ungaro x-arnie at ccpbr.org
Wed Aug 10 19:21:57 CEST 2005


when you use the iptables command and no specify the table, it assumes 
that the table is filter, so "iptables -t filter -F" is the same as 
"iptables -F". That's why you need to specify the table to flush the 
nat, like flush mangle, etc...

best regards,


Shannon Roddy wrote:
> Can someone help me out here?  I figured that iptables -F would flush
> all tables including the nat table, but it appears to not flush it.  I
> have to explicitly use iptables -t nat -F to fllush the NAT rules.
> Thanks,
> Shannon

More information about the netfilter mailing list