On Mon, 2002-12-09 at 12:46, Arindam Haldar wrote: > hi all, > > just a thought.... > i want to know if the -N flag is avaiable for PREROUTING/POSTROUTING > mangle/nat etc ? > i know the below is possible ... > iptables -N myTable > iptables -A INPUT -s -j myTable > > but if want to do this-->> > iptables -A POSTROUTING -t nat -s <> -j myTableTwo > or > iptables -A PRETROUTING -t mangle -s <> -j myTableTwo > is it possible ?.. how do i create a new table for this ? try this: iptables -t nat -N test iptables -A PREROUTING -t nat -s <> -j test > thanking in advance.. > A.H -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( Raymond Leach ) ) Knowledge Factory ( ( ) ) Tel: +27 11 445 8100 ( ( Fax: +27 11 445 8101 ) ) ( ( http://www.knowledgefactory.co.za/ ) ) http://www.saptg.co.za/ ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o o o o .--. .--. | o_o| |o_o | | \_:| |:_/ | / / \\ // \ \ ( | |) (| | ) /`\_ _/'\ /'\_ _/`\ \___)=(___/ \___)=(___/