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

How to use policy routing with multiple WAN and Squid ?

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
1 Posts 1 Posters 939 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.
  • D
    duanes
    last edited by Dec 20, 2012, 10:59 PM

    My installation has three WAN connections.  All three are good for internet, but due to cost and capacity, certain types of traffic are preferred over certain links… ie, email is preferred over the intra office private line.

    I want to fail over to alternate gateways in case of link failure, so I have setup several gateway groups.  InternetGroup has the preferred NetGate as Tier 1 and OfficeGate as Tier 2.  EmailGroup is just the opposite.

    I have created a firewall rules.  For simplicity, anything with a destination of the company email server gets the gateway set as OfficeGate.  Everything else is NetGate.  The problem is that if I don't set one of the Gateways as the Default Route, then the firewall itself and thus pfsense cannot get to the internet.  But, If I set one of the gateways as the default and it goes down, then the firewall still looses it's ability to reach the internet (although any client PC on the LAN works and fails properly).

    After spending a few weeks trying to troubleshoot an unrelated issue, I also believe that Squid (in transparent mode) also follows only the default gateway and does not follow the policies.

    Any suggestions ?

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received