Re: hi..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Raymond Leach wrote:
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 <ip> -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

THANX so MUCH .....:)... it works...:)




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux