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

    Routing on multi WAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 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.
    • D
      decibel83
      last edited by

      Hi.
      I setted up two WANs (WAN1 and WAN2).
      I enabled the Manual Outbound NAT rule generation in the firewall NAT configuration and I added a new rule (the first before the general one) with 192.168.33.0/24 as source (this is my LAN network) and a single IP address as destination (123.123.123.123/32) and I setted the WAN2 interface for this rule. I saved and tried to connect to the 123.123.123.123 host from a client in the 192.168.33.0/24 network, but I'm still using the WAN1 connection.

      Where I am wrong?

      Thank you very much!
      Bye.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        AoN rules just define how traffic is NATed, NOT how traffic is assigned to WANs.
        For this use policy routing (define a gateway in a firewall rule) or create a static route for this IP pointing to the WAN2 gateway.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • D
          decibel83
          last edited by

          Thank you very much!!

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