External web addresses
So vpn. goes to 192.168.1.5 and plex. goes to 192.168.1.10 - I have added A records to take that address to the external IP of the pfsense firewall but am unsure how to proceed after that bit.
awebster last edited by
If you only have one external IP address, it won't work out of the box.
DNS converts a name to an IP, and if both vpn.tomwlab.co.uk and plex.tomwlab.co.uk point to the same external IP address, you need something extra in the sauce to be able to distinguish between the two.
You basically need a reverse proxy service running on pfSense, so it can respond to the web request, look at the requested header in order to see the requested site name and forward the request to the appropriate server internally.
Thanks for that, where could that be configured?
At present I use port forwarding
Use the HAProxy package in pfsense itself.
Here's some walkthroughs on setup:
Here's the documentation:
Here's the cache/proxy forum topic here with lots of posts: