Name based routing - can pfSense do it?
-
Need pfSense to route one WAN IP on to many LAN IPs' Port 80 - based on what URL is requested.
example:
WAN IP 1.2.3.4
LAN IPs
10.0.0.11 - www.domain1.com
10.0.0.12 - www.domain2.com
10.0.0.13 - www.domain3.comWhen a request comes into the WAN IP from the internet requesting for http://www.domain1.com, it must be routed to port 80 of server at 10.0.0.11. Similarly for http://www.domain2.com routed to 10.0.0.12, etc.
Is this Name based routing possible in pfSense v1.2.3 ?
The eBook - pfSense - the Definitive Guide - says nothing about it. Also Figure 6.5 is missing in it.
-
For that you need a reverse proxy. Something like the Apache mod_securty package would do it (Look under System > Packages)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.