From: Nuno Silva (nuno.silva_at_vgertech.com)
Date: Fri 01 Aug 2003 - 04:29:47 BST
Sam Vilain wrote:
> > I don't know if understood you...
> > you have many vservers with private ips and only ONE public ip
> > (probably on the root server)? how can you have this vservers accessed
> > from outside? or those hits are comming only from your private network?
>
> Yes, you can use NAT to redirect traffic to the "internal" networks -
> a bit like using the root server as a firewall, and the other vservers
> as the "internal" hosts.
>
> Excellent for VPNs, too. See http://www.lartc.org/
AFAIK, NAT won't do it... Unless you inspect every HTTP's packet payload
to extract the HTTP headers.
One simple way of doing it is to setup a reverse-proxy (squid, for
instance) in the public ip and tell the reverse-proxy how to reach, in
the internal network, those domains. This can be done with DNS.
Regards,
Nuno Silva