Access multiple HTTP servers behind NAT with single public IP
I was wondering if there is a way in pfSense to send traffic to the correct HTTP server behind a NAT based on the Host header of the http request?
I guess like a reverse proxy, is there anything like that inbuilt into pfSense?
I also thought a layer 7 filter could be done on a port forward to read the host header and redirect to the correct server?. Would that be possible at all? Wouldn't require a reverse proxy that way.
Open to other solutions. I would just like something simple and not have to set up a dedicated reverse proxy.
reverse proxy is the only option. It's impossible from a network perspective to do what you describe with layer 7, you have to establish the TCP connection to the web server before the host header shows up and can't just change it to something else. There are some in packages you can run on the firewall.
Thanks for the quick reply.
I'll check it out :).
Would be cool if you could layer 7 it :)