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

    DUAL WAN & Policy Based Routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.0k 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.
    • V Offline
      vonedaddy
      last edited by

      Hey Folks, I am new to pfsense and before I switch over I am trying to outline my config so I can have minimal downtime.

      Here is my situation.  I have 2 WAN connections, and want to set them up as failover so if WAN1 fails it switches to WAN2.  This seems straight forward enough from my reading.  What isn't clear is if I have this setup, can I still do policy based routing and force certain clients (either by IP or MAC) through the failover WAN2?

      So to clarify, WAN1 will always be active and WAN2 will be used as a failover.  But two clients should use the failover exclusively (192.168.1.5 and 192.168.1.15).

      To make this a little more complicated, I want to set up OpenVPN to connect to WAN1.

      Is this possible?

      1 Reply Last reply Reply Quote 0
      • T Offline
        thefuzz4
        last edited by

        Yes this is possible.  In your Firewall > Rules > <<network>> Select the rule.  Scroll to the bottom of the page and click on advanced.  Then go to Gateway and change it from default to the WAN link that you want.

        You will also have to do this for your fail over as well since you will need to create a gateway group to send traffic to the gateway group instead of the default gateway. </network>

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