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

Juan Hernandez alucard at kanux.com
Tue Sep 28 21:26:21 CEST 2004


iptables -F
On Tue, 2004-09-28 at 15:48, Abylai Ospan wrote:
> 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 10.0.0.10 -d 10.0.0.20 -j ACCEPT 
> 
> the first rule is deleted only. Is there any command line option to
> remove all identical rules in one chain ?
> 
> wbr, Abylai
> 
-- 

Juan Hernandez, RHCE SCSA
.knxTech C.A.
CC Los Chaguaramos, Ofc 16-10B      |  Tel: (58) 212-6624745
Los Chaguaramos, Caracas-Venezuela  |  Mobile: (58) 412-5821882

Programmin' Python is like sugar... Sweet ;)




More information about the netfilter mailing list