On Sunday 14 December 2003 21:47, Mihai Vlad wrote:
> Easy question:
>
> Can you give me a little piece of script that checks if a custom chain
> exists in iptables?
if `iptables -L <chain>`
then
echo chain found
fi

Stef

-- 
[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to