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

    Routing to different servers by subdomain

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 4 Posters 4.9k 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.
    • S
      Steve Mustafa
      last edited by

      Hi,

      I'm looking to route requests coming through the WAN to different servers internally. For example, mail.mywebsite.com would get routed to the mail server whilst camera.mywebsite.com gets routed to the web enabled DVR.

      How would I go about doing something like this on Pfsense 1.2.2?

      TIA

      1 Reply Last reply Reply Quote 0
      • S
        Supermule Banned
        last edited by

        Use Squid….. or find another L7 capable firewall...

        1 Reply Last reply Reply Quote 0
        • S
          Steve Mustafa
          last edited by

          Any pointers on how to implement that with squid?

          TIA

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            Look through the list here….Should be plenty.

            I dont have experience with Squid, therefore I use ISA server by Microsoft to do my L7....

            1 Reply Last reply Reply Quote 0
            • K
              ktims
              last edited by

              haproxy can also do this I believe, and there is a pfSense package for it as well. Not caching, but considerably more lightweight than Squid.

              1 Reply Last reply Reply Quote 0
              • J
                jimbabwe
                last edited by

                You can also look at things like Pound reverse proxy. For pretty cheap, you can use pound on a low-end (like old deskpro en) pc and direct traffic from pfsense to the reverse proxy. The reverse proxy forwards to your internal IPs based on domain name, so you can use one public IP to many internal IPs. Do a web search; Pound is not the only reverse proxy available–-squid works, too.

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