[Shorewall-users] redirect virtual webservers

Magnus Stenman stone@hkust.se
Tue, 30 Apr 2002 00:04:21 +0200


Tom Eastep wrote:
> 
> On Mon, 29 Apr 2002, Magnus Stenman wrote:
> 
> >
> > Client looks up "www.virtual.server", gets a cname to your external IP.
> > It connects (this gets forwarded to the internal web server) and
> > tells the web server that it wants pages from "www.virtual.server"
> > (the Host: www.virtual.server HTTP header)
> >
> > web server returns pages.
> > >
> > > What is needed for that? is this possible with shorewall, if so how?
> >
> > A reverse proxy or similar. Not included in shorewall AFAIK.
> >
> 
> Apache includes everything you need -- all Shorewall has to do is regular
> port forwarding. Look at the Apache documentation:

Not if you want to listen on one external IP for requests to multiple
virtual (name based) servers, and forward these to separate boxes on
the private net.

For that you'll need a proxy of some kind.


/m

> 
>         http://httpd.apache.org/docs/vhosts/examples.html
> 
> -Tom
> --
> Tom Eastep    \ Shorewall - iptables made easy
> AIM: tmeastep  \ http://www.shorewall.net
> ICQ: #60745924  \ teastep@shorewall.net
> 
> _______________________________________________
> Shorewall-users mailing list
> Shorewall-users@shorewall.net
> http://www.shorewall.net/mailman/listinfo/shorewall-users