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

    Redirect traffic to a link using Proxy.

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 245 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.
    • I
      Itg
      last edited by

      Hello gentlemen, greetings to all.

      I have two internet links and I want some machines to always go out through one of them (WAN2), if you create a firewall rule and in the advanced tab define the outgoing gateway, it works well.
      However, from the moment I start using Squid and SquidGuard this does not work, not even with NAT Outbound, Squid always throws http and https traffic to the standard link (WAN1).

      How do I resolve this issue?

      Thank you all!

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @Itg
        last edited by DaddyGo

        @ivanildogalvao said in Redirect traffic to a link using Proxy.:

        However, from the moment I start using Squid and SquidGuard this does not work, not even with NAT Outbound, Squid always throws http and https traffic to the standard link (WAN1).

        Hi,

        Please note this:

        https://docs.netgate.com/pfsense/en/latest/routing/multi-wan.html

        Under the LOCAL SERVICE

        "By default, traffic using a proxy such as Squid will bypass policy routing and use the default route for traffic at all times. It also bypasses expected outbound NAT and leaves via the WAN IP address directly."

        3d698f2c-5b4e-4f64-b203-75971e97cfcd-image.png

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

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