Re: list user-defined chain names only

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

 



On Thu, 2005-01-27 at 06:04, Filip Moritz wrote:
> Hi there.
> 
> maybe this's stupid question, but anyways:
> Is there any way to list my chain names only, i.e. not the rules defined in
> there?
> 
> g., fil

iptables -nL | grep Chain | grep -v \(policy\  | awk '{print $2}'

-j

--
"Beer. Now there's a temporary solution."
	--The Simpsons



[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