Feature Request: Host header based port forwarding
-
First of all, great job! Today is my first day running pfsense as my router/firewall and I'm super excited.
I realize that I am probably among a very small group of people with this specific need however there have been a few posts on this topic.
I have multiple servers behind a single IP address. If I had the luxury of multiple IP's this would not be an issue.Looking at the web pages it just doesn't seem like it would be that hard to add this feature.
The solution that I have right now works but it is not as elegant as if it was done at the router level.(All servers are Win Server 2008)
Lets say I have site.com and a.site.com
Now lets say that site.com should go to server #1 and a.site.com should go to server #2.
I have a Reverse Proxy I wrote in .NET and a.site.com is a site on server #1 that gets handled via the Reverse Proxy….works fine but could be better. -
That isn't possible by just using NAT and such that is included in the firewall. It is a much more complex task than you make it out to be.
However, there are packages that may work for you that can do this. I think the HAProxy package may let you redirect in this manner, it is a reverse proxy. You might try experimenting with it and seeing what it can do.
-
Ah very good, I will check this out. And I didn't mean to trivialize the effort to do such a thing.
Thanks!