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

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

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 255 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.
  • P
    Paraxial
    last edited by Jul 22, 2021, 10:51 AM

    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 Jul 22, 2021, 4:44 PM Reply Quote 0
    • V
      viragomann @Paraxial
      last edited by viragomann Jul 22, 2021, 7:57 PM Jul 22, 2021, 4:44 PM

      @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
      • S
        stephenw10 Netgate Administrator
        last edited by Jul 22, 2021, 7:21 PM

        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
        2 out of 3
        • First post
          2/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received