need to ask some questions about NAT'ing to two interfaces based on
destination address wherein the destination address is unknown(sort of)

basically what i want to do is load balance a web server which is connected
to two internet links. here's the diagram.

ISP1<--->eth1|----------------|
                       | LINUX BOX |eth0<--------->WEBSERVER and INTERNAL
LAN
ISP2<--->eth2|----------------|

i know how to DNAT the connection destined for the webserver that may be
coming via the ISP1 or ISP2 link. what i do not know is how i would be able
to determine that the request came via that link so that i will be able to
SNAT the reply to that interface.

just need an idea what i need to enter in my iptables script.

``
sandy




--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to