Hello, There is a option --line-numbers, which can be used with -L in iptables. Knowing the line/rule numbers ... u can later delete the specific rule. Commands : #iptables -nL --line-numbers ---> this will show you the rulenumbers #iptables -D <chain-name> <rule-number> Bye, Narendra. In the middle of difficulty..... lies Opportunity. (Albert Einstein) -------------------------------------------------------------------- Narendra Prabhu. B Free Software at its product-ive best. DeepRoot Linux http://www.deeproot.co.in ---- Server Appliances ---- ---- Linux Support and Services ---- ------------------------------------------------------------------- On Wed, 18 Dec 2002, ITM CS Ruslan O. Nesterov wrote: > Hello bobo, > > Wednesday, December 18, 2002, 3:30:18 PM, you wrote: > > b> i have insert some rules to iptables firewall.now,i would > b> like to delete it . > b> but i only know to use iptalbes -L to empty them. > b> but it lead to delete all the rules in it. > b> how to do ?? > > > Try to use > iptables -D INPUT 1 > this will delete rule 1 in input chain > > -- > Best regards, > ITM mailto:ruslan@complexsystem.ru