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

    Outbound Nat Single Host Secondary Link

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 334 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
      douglas filipe
      last edited by

      Hi all!
      I have this configuration:

      LAN: 192.168.0.0/22
      WAN 1: 200.200.200.1 Default GTW
      WAN 2: 201.201.201.2 Secondary Link

      Firewall has configured with hybrid NAT

      I need that one machine 192.168.2.10 use WAN 2 as gateway to internet and I created a outbound NAT rule as it:

      Interface: WAN 2 (Secondary)
      Source: 192.168.2.10/32
      Destination: Any
      Address: Interface Address

      But machine still use WAN 1 IP to navigate on internet. How can I solved it?

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @douglas filipe
        last edited by viragomann

        The outbound NAT is necessary for sure, but it doesn’t route anything.
        Despite of this you have to add a policy routing firewall rule for that device. Just add a pass rule for the allowed upstream ports, put the devices IP in the source box, open the advanced settings go to gateway and select your WAN2 GW. Put this rule to the top of your LAN rule net, so it gets applied at first.

        1 Reply Last reply Reply Quote 0
        • D
          douglas filipe
          last edited by

          thanks @viragomann works here!

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