Subject: Re: web server behind nat/ipf
To: Amergin <amergin@wwa.com>
From: Dr. Rene Hexel <rh@vip.at>
List: netbsd-help
Date: 08/21/2000 17:36:50
Amergin wrote:

> In a similar vein, is it possible to have more then one webserver (domain)
> be addressed to a single IP and then be redirected to the correct internal
> webserver?

  If you want to do this via ipnat, you need either different IP
addresses or different ports (you can, of course redirect ports 80, 81,
82, ... on your NAT box to port 80 on different internal hosts).  If you
want virtual hosts on the same IP address (and the same port), you need
an application level proxy/redirector for HTTP/1.1.  I'm not sure, but
squid might be capable of what you want when configured as
HTTP-Accelerator.

  Cheers
      ,
   Rene