dnat to multiple destination

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

 



hi there,

recently i read iptables man page,
in the DNAT part :
You  can  add  several --to-destination options.  If
you specify more than
one destination address, either via an address range
or multiple --to-des­
tination  options,  a simple round-robin (one after
another in cycle) load
balancing takes place between these adresses.

in my mind, it sounds like:
iptables -A PREROUTING -s xxx.xxx.xxx.xxx -p tcp
--dport 80 -j DNAT --to-destination aaa.aaa.aaa.aaa
--to-destination bbb.bbb.bbb.bbb

but it says invalid arguments.
which part was wrong ?

cheers,
Agung


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


[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