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

    UDP Source Port rule doesn't match at first.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 456 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.
    • K
      kathampy
      last edited by

      WAN1 is the default gateway.

      Rule 1
      Protocol: UDP
      Destination Port: 27000-27030
      Gateway: WAN2
      Action: Allow

      Rule 2
      Protocol: UDP
      Source Port: 27005
      Gateway: WAN2
      Action: Allow

      Rule 3
      Protocol: Any
      Action: Allow

      Whenever I launch the application which is configured to use source port 27005, it initially uses WAN1 and not WAN2 as specified in Rule 2. Rule 1 which uses the destination port does work. If I disconnect WAN1, then it immediately starts using WAN2 and continues to do so even if I reconnect WAN1.

      The reason it suddenly starts working when WAN1 is disconnected cannot be because of the automatically recreated rule when the gateway is down, because the default gateway is WAN1 not WAN2.
      There are no states in the firewall for UDP port 27005 at all, even when data is actively being transferred on either WAN1 or WAN2.

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