list user-defined chain names only
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