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

    How to Route HTTP/HTTPS through 3rd Party Proxy?

    General pfSense Questions
    3
    3
    246
    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.
    • P
      Paraxial
      last edited by

      I have a weird use case whereby I want a whole bunch of devices connected to my network that need to use a web proxy provided by a third party.

      I can find plenty of guides on how to set up traffic to head through the likes of Squid hosted upon the pfSense device itself, though nothing around how to have traffic use a third party hosted proxy.

      Does anyone have any idea how I could accomplish this if it's even possible?

      Thanks

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @Paraxial
        last edited by viragomann

        @paraxial
        That depends on your setup and on the proxy type.
        The proxy is inside your LAN behind pfSense as well as the destination devices?
        Is it a reverse proxy?
        Is it a standard proxy or is it in transparent mode?

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

          When you run Squid in transparent mode on pfSense it adds port forwards to the listening interfaces to redirect traffic on ports 80 and 443 to localhost.
          You can just as easily add those manually and point them at some other IP where the proxy is.
          If it's on the same subnet things get complex to avoid asymmetric routes.

          But, yeah, it depends what the clients are and why they 'need' to use the proxy. The cleanest way to do it is configure the clients to use the proxy. pfSense doesn't have to do anything then beyond routing the traffic.

          Steve

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