Fwd: multiple DNAT alternative?

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

 



Hi all,

Is there any alternative of multiple DNAT's  which is been droped in
the latest kernels or after 2.6.10.x kernel tree. All i want to do is,
traffic meant for a particular internal IP should be forward to
multiple destinations not as load balacing but as per the connection
tracking. Blow are the desired command of DNAT.


iptables -t nat -A PREROUTING -p udp -s 0/0 -d 10.0.2.107 -j DNAT
--to 202.125.136.60-202.125.136.70
 (This command is fine and it works too, but i want to do is  not to
load balance between the ips but to pick up the ip for which data is
meant for)


iptables -t nat -A PREROUTING -p udp -s 0/0 -d 10.0.2.107 -j DNAT
--to-destination 202.125.136.60 --to-destination 194.202.94.1
(Any alternative for this command which is depricited after 2.6.10
kernel tree.)

I would be very thankful for your prompt response.

Regards,
Nouman

--
Deciving Looks

--
Deceving Looks


[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