Tom Eastep wrote:
> Brian J. Murrell wrote:
>> On Tue, 2008-02-12 at 09:02 -0800, Tom Eastep wrote:
>>> iptables does support such a capability.
>> No
> 
> Yes -- the -E command renames an existing chain.
> 
Example:

ursa:~ # iptables -N foo
ursa:~ # iptables -N bar
ursa:~ # iptables -A foo -j bar
ursa:~ # iptables -L foo
Chain foo (0 references)
target     prot opt source               destination
bar        all  --  anywhere             anywhere
ursa:~ # iptables -E bar baz
ursa:~ # iptables -L foo
Chain foo (0 references)
target     prot opt source               destination
baz        all  --  anywhere             anywhere
ursa:~ #

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to