On Fri, May 07, 2004 at 02:37:11PM +0200, Gabriele Oleotti wrote:

> Is this possible with pf? Or otherwise could you please forward me to a product that 
> will do the trick (I have squid installed on this server.)

No, the connections are not distinguishable at IP level, the TCP
handshake is exactly the same in each case, only after the connection is
established the client says (using a HTTP header) which server it wants
to fetch from.

Since you have squid, read its documentation (google or see
http://www.squid-cache.org/) about 'squid reverse proxy'. It can rewrite
URLs, load balance, or simply redirect to different internal servers
based on HTTP Host: header. See the httpd_accel_* options described on

  http://squid-docs.sourceforge.net/latest/html/x2439.html

There's squid mailing lists, too, if you have more detailed questions :)

Daniel

Reply via email to