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

    Dual WAN failover and 1:1 NAT

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

      I have two WAN connections.

      The idea is to have each presented to pfSense on their own NIC.

      I currently have one wan setup with a routed /29.

      Second WAN is done via ethernet and also has a /29 available (not sure of the terminology, but rather than being routed to an IP, the /29 is simply the subnet available on that wan interface).

      I already have 1:1 NAT and some manual outbound NAT rules on the existing WAN.

      What I would like to do is create 1:1 NAT for the Second WAN and use that as the main connection, only reverting to the original WAN and it's 1:1 mappings in the event that the other fails.

      Can this be done with one instance of pfSense or would I need to run two boxes with something like CARP on the LAN interface to achieve what I want?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        That works fine.

        For the Second WAN you will need VIPs for the external IPs of the 1:1 NAT, but otherwise it should be the same.

        Traffic that enters WAN or WAN2 will go back out the expected path.

        Traffic that is initiated from the inside will choose a path based on your gateways/groups in LAN-side rules, as it would for any other Multi-WAN setup. As it leaves a particular WAN, the 1:1 NAT for that WAN will apply on the way out.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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