Re: POSTROUTING

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

 



But, this is not right, LOCAL_NET is not a target, you need at least to
create a new chain called LOCAL_NET to use it as a target.

Im not shure if you can use a chain as a match.



On Wed, 2004-02-18 at 12:08, capsx wrote:
> Hello!
> 
> Is it possible in POSTROUTING as source to specify a chain:
> 
> f.e.
> 
> iptables -N LOCAL_NET
> iptables -A INPUT -i eth1 -s 10.0.0.9 -j LOCAL_NET
> 
> iptables -t nat -A POSTROUTING -o eth0 -s LOCAL_NET -j SNAT --to ip.ad.re.ss
-- 
Alexis <alexis@xxxxxxxxxxxx>



[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