On Thu, Feb 01, 2007 at 10:12:40AM +0100, Johan L wrote: > Hi, > > We are running a PF based firewall (of course ;) ) and are now looking > for a solution to redirect http requests based on the hostname. > All the hostnames have the same public ip but should be redirected to > different internal servers depending on the hostname; > www.xxx.com -> 192.168.0.200 > www.yyy.com -> 192.168.0.200 > www.zzz.com -> 192.168.0.201 > etc > > Not sure if this can be done by PF (don't think so though). > Is there any proxies that can manage this? > Or any other solutions?
No, pf doesn't do that. Squid, Apache, pound, or any other reverse proxy will almost certainly do the trick. Joachim