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

    Redirect web traffic to a proxy server

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 3.5k 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.
    • C Offline
      chasingSol
      last edited by

      Hai all,

      I have a pfsense standing between my LAN and the internet, just

      Internet <-> pfsense <-> LAN switch

      pfsense acts as a transparent proxy for the LAN clients; Lately I have enabled the load balancer service to make a fail over to another WAN connection, the fail over works great except with the web traffic; I am aware about this issue that pfsense doesn't do fail over for web traffic in case it's working as a transparent proxy, so I configured another squid server inside the LAN to be used as the proxy server, and let pfsense do the fail over and disabled the proxy in pfsense as well. And everything works great.

      My question, could I use pfsense to redirect the outbound web traffic to this squid server instead of defining the proxy server on each machine inside the LAN? I tried to play with the outbound traffic under NAT, but I had no luck.

      Please advice

      1 Reply Last reply Reply Quote 0
      • Cry HavokC Offline
        Cry Havok
        last edited by

        Yes - you should find a few threads about this since it's been covered before.

        Effectively you're setting up a remote transparent proxy.  Just ensure that you exclude the proxy itself from this, otherwise traffic will go around in circles ;)

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