Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Name based routing - can pfSense do it?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      apmuthu
      last edited by

      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.com

      When 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.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        For that you need a reverse proxy. Something like the Apache mod_securty package would do it (Look under System > Packages)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.