How to check user-defined chains

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

 



On Mon, 28 Oct 2002, Bart wrote:

> 
> 
> Oleksandr Darchuk wrote:
> 
> >Hello.
> >
> >Are there any ways to know all user-defined chains for iptables (like 
> >/proc/net/ip_tables_names for tables)? 
> >I try to builded my ipfw script using many own chains, but it's hard to 
> >delete all of them 
> >
> to delete them all, just perform iptables -X

not quite.  this will delete only the u-d chains in the default
filter table.  you would still have to delete the chains in the
other two tables with:

  # iptables -t nat -X
  # iptables -t mangle -X

rday

p.s.  of course, if you're only building chains in the filter table
to begin with, then you're right.




[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