Routing to different servers by subdomain
-
Hi,
I'm looking to route requests coming through the WAN to different servers internally. For example, mail.mywebsite.com would get routed to the mail server whilst camera.mywebsite.com gets routed to the web enabled DVR.
How would I go about doing something like this on Pfsense 1.2.2?
TIA
-
Use Squid….. or find another L7 capable firewall...
-
Any pointers on how to implement that with squid?
TIA
-
Look through the list here….Should be plenty.
I dont have experience with Squid, therefore I use ISA server by Microsoft to do my L7....
-
haproxy can also do this I believe, and there is a pfSense package for it as well. Not caching, but considerably more lightweight than Squid.
-
You can also look at things like Pound reverse proxy. For pretty cheap, you can use pound on a low-end (like old deskpro en) pc and direct traffic from pfsense to the reverse proxy. The reverse proxy forwards to your internal IPs based on domain name, so you can use one public IP to many internal IPs. Do a web search; Pound is not the only reverse proxy available–-squid works, too.