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

    Gateway based on source

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 399 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.
    • S
      sr10977
      last edited by

      I have Multi WAN, with both WANs accepting traffic.
      I have a server with NAT, that clients connect to.
      If traffic comes in to WAN A, it goes out via WAN A (default)
      If traffic comes in to WAN B, it goes out via WAN A (default)

      Is there any way to sort of "keep track" from which interface they entered and respond accordingly?

      H 1 Reply Last reply Reply Quote 0
      • R
        Rico29
        last edited by

        is "upstream gateway" enabled on both WANs ?

        1 Reply Last reply Reply Quote 0
        • H
          heper @sr10977
          last edited by

          @sr10977 said in Gateway based on source:

          If traffic comes in to WAN A, it goes out via WAN A (default)
          If traffic comes in to WAN B, it goes out via WAN A (default)

          that's not default ... that's assymetric routing & will fail miserably.

          you probably have some configuration problem

          R 1 Reply Last reply Reply Quote 0
          • R
            Rico29 @heper
            last edited by

            @heper said in Gateway based on source:

            @sr10977 said in Gateway based on source:

            If traffic comes in to WAN A, it goes out via WAN A (default)
            If traffic comes in to WAN B, it goes out via WAN A (default)

            that's not default ... that's assymetric routing & will fail miserably.

            you probably have some configuration problem

            this behavior occurs when upstream gateway is not set on WAN interfaces

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