Skip to contentSkip to conversation

list user-defined chain names only

DISCUSSION Jason Opperisano 1 participant 1 message Jan 27, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Filip Moritz

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