IPTABLES NAT

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

 



Hi
 
I wonder if any body can help me ?
 
I've got 2 Redhat 9 Linux Servers purely running iptables and only using the NAT function
 
I want to load balance over two boxes, I want to send traffic out the one box and SNAT 57.24.224.242, 
and return traffic to return to the second box and DNAT to 172.20.128.121 
 
If I send traffic over the one box and receive on the same box it works, but when I split the traffic it doesn't work !
 
the rules are as follows
 
Box1
iptables -t nat -A POSTROUTING -o eth1 -s 172.20.128.121 -j SNAT --to 57.24.224.242
 
Box2
iptables -t nat -A PREROUTING -i eth1 -d 57.24.224.242 -j DNAT --to 172.20.128.121
 
Thanks
 
 
 
 

[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