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

    Redirecting Web Requests

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 327 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.
    • T
      TheWizardUk
      last edited by

      Hello All,

      So initially i had 1 web server and pfsense had some port fow rules set up on 80 and 443 to the apache host all worked well.

      Now i have a new requirement to have some more web servers within the same network.

      So i started looking at apache2 proxypass but then all web requests will be hitting the web server and then get redirect to the other web servers based on the request.

      i don't like that idea so i then started looking to directing the traffic with pfsense via something like squid reverse proxy and got a bit lost

      would one of you be able to advise on the best course of action to best manage the above scenario and possible a guid or tutorial on how to set it all up?

      Thanks
      Mike

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

        You can do that, forward requests to the correct server based on the host-header, using Reverse Squid or HAProxy.

        HAProxy is more capable but potentially more complex: https://doc.pfsense.org/index.php/Haproxy_package

        Steve

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