Re: how to delete a piece of rule in iptables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
you can use iptables -D or -X or -F. -D to delete a single rule, -X do
detele a chain and -F to flush all rules from a chain.
Refer to man 8 iptables for details and examples.

Marcello

Il mer, 2002-12-18 alle 13:30, bobo ha scritto:
>              i have insert some rules to iptables firewall.now,i would 
> like to delete it  .
> but i only know to use iptalbes -L to empty them.
> but it lead to delete all the rules in it.
> how to do ??
> 
-- 
Marcello Scacchetti <marcello.scacchetti@nextrem.it>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux