--On 27 July 2005 00:27 +0200, GV wrote:

is it possible to have the following:

rdr on $ext_if proto tcp from any to any port 80 -> $server

re-written as:

rdr on $ext_if proto tcp from any to domain.com port 80 -> $server

where "$server" an internal web server and "domain.com" a specific
domain  name?

In general I would like to have one static IP where more than one
domains are  registered and for each domain a different internal web
server should serve  the incoming requests!

No, you need some kind of 'reverse-proxy' to do this type of thing (maybe pound, tinyproxy 1.70, or squid in accelerator-mode). It would run on either the PF box or another box that you rdr to.

Reply via email to