Multiple Web Servers on a private LAN accessible from the internet?

Tony Oger (tony.oger@creditlyonnais.fr)
29 Dec 1999 10:32:43 +0100


This is a multi-part message in MIME format.

------------7NhE3WuB9OnU6N9D2A0R5Y7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi everybody,

I run a Linux box as router connected to internet (Modem Cable)
My ISP gave me only 1 routable IP.
On the linux router, i have 2 ether cards
eth0 : 212.198.1.1 (the default gateway to the internet)
eth1 : 192.168.0.1 (connected to a LAN Network via a hub)

I would like to install several apache http servers on different Linux client
box that are on my LAN Network.
Server1 on Client_box1, Server2 on Client_box2...
Those box client have private IP 192.168.0.x
How could i do (with only 1 real IP) forward all connections that arrived from
internet on my linux router to the specified
Serverx on Client_boxx ?
More over , i would like to run all those Web Servers on the same port 80.
(Else, i could do port forwarding.;but that s not what we are searching)
Is there a way to get in the IP Packet the url that is asked (
http://Server1.dyndns.org for example and forward it to the httpd Server1
hosted on the Client_box1 whose IP is 192.168.0.2 ?)

Thanks in advance for your help

T.OGER
oger@cybercable.fr

------------7NhE3WuB9OnU6N9D2A0R5Y7
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ce message contient des informations confidentielles ou appartenant au
Cr=e9dit Lyonnais et est =e9tabli =e0 l'intention exclusive de ses
destinataires. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit =eatre pr=e9alablement autoris=e9e. Tout message =e9lectronique est
susceptible d'alt=e9ration et son int=e9grit=e9 ne peut =eatre assur=e9e.
Le Cr=e9dit Lyonnais d=e9cline toute responsabilit=e9 au titre de ce
message s'il a =e9t=e9 modifi=e9 ou falsifi=e9. Si vous n'=eates pas
destinataire de ce message, merci de le d=e9truire imm=e9diatement et
d'avertir l'exp=e9diteur de l'erreur de distribution et de la destruction
du message.

This e-mail contains confidential information or information belonging
to Cr=e9dit Lyonnais and is intended solely for the addressees.
The unauthorised disclosure, use, dissemination or copying (either whole
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed.
Cr=e9dit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong delivery
and the mail deletion.

------------7NhE3WuB9OnU6N9D2A0R5Y7--
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu