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

    Multi-Domains - Multi-Interfaces

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 836 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.
    • B
      bsmither
      last edited by

      I do not know enough to make an intelligent start to look for making this configuration work.

      foo.com <–> (public IP x.y.z.49)pfSense:WAN <==> pfSense:LAN(10.1.10.5) <–> Pluto(10.1.10.2)
      bar.com <–> (public IP x.y.z.49)pfSense:WAN <==> pfSense:OPT(10.2.10.5) <–> Daffy(10.2.10.2)

      In other words, domains foo and bar both resolve to x.y.z.49.

      Based on the domain name, I want the respective traffic to use the associated interface.

      I have been exploring Squid, but the dozens of tutorial sites I have visited are either badly written, assumes the reader is a *nix god, focuses on aspects of Squid I am not interested in, or all three.

      Is Squid the solution here?

      If not, what is? Can pfSense do this by itself?

      If so, where would be a well-written, comprehensive, "For Dummies" tutorial on the Reverse Proxy aspects of Squid as presented in the pfSense WebGUI?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        pfSense cannot do this in it's default setup.
        You need a reverse proxy that can read host headers. I believe there are more than one available as a package for pfSense though I've never set this up myself.
        Have a search through the forum for 'host headers'.

        Steve

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