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

    Redirect traffic to an external Proxy

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.6k 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
      sm1981
      last edited by

      Hi!

      I'm searching for a solution for my problem.
      There is a running Proxy, which should be used from all Clients behind pfSense

      Is it possible to redirect outgoing (WAN) traffic (at least HTTP & FTP) to an external Proxy?
      I don't want to configure the Proxy manually on all Clients.

      This is the network:

      VLAN 1 -
      VLAN 2 –- pfSense --> Proxy --> Internet
      VLAN 3 -/

      Thank you,
      Sebastian

      1 Reply Last reply Reply Quote 0
      • M
        mhab12
        last edited by

        If you take a look at /usr/local/pkg/squid.inc you should find the redirect rules that enable the transparent proxy.  It will take some work, but you should be able to hard code some redirects to your proxy machine.  Here is a (somewhat) related post about how to have one IP bypass the rules, your situation is different, but might be a start.
        http://forum.pfsense.org/index.php/topic,14607.0.html

        1 Reply Last reply Reply Quote 0
        • S
          sm1981
          last edited by

          thank you.

          i'll try to make some changes in that file.

          if it works, i'll let you know :)

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