[LARTC] load balancing and DNAT

Brad Barnett lists@L8R.net
Mon, 3 Jan 2005 13:32:55 -0500


Does anyone know if load balancing and DNAT work well together?  I know
that load balancing and NAT do not, but what about a simple port forward?

I can't apply Julian Anastasov's patches, because they don't work with
PPTP patches. :/

Anyhow, a simple:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport xxx -j DNAT --to
yyy:xxx 
iptables -I FORWARD -i eth0 -d yyy -p tcp --dport xxx -o eth1 -j
ACCEPT

does not seem to work.