Help need :) How to delete all rules in chain ?

Abylai Ospan aospan at
Tue Sep 28 21:48:57 CEST 2004

Hello, all !

May be this question in FAQ but I can't find it ;-( I have 3 (or more)
identical rules in one (for example - INPUT) chain.
If I do command:
iptables -D FORWARD -s -d -j ACCEPT 

the first rule is deleted only. Is there any command line option to
remove all identical rules in one chain ?

wbr, Abylai

More information about the netfilter mailing list