Redirect traffic to a link using Proxy.



  • 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!



  • @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


Log in to reply