• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 233 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 Jul 30, 2020, 1:42 PM

    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!

    D 1 Reply Last reply Jul 30, 2020, 4:22 PM Reply Quote 0
    • D
      DaddyGo @Itg
      last edited by DaddyGo Jul 30, 2020, 4:31 PM Jul 30, 2020, 4:22 PM

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