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

    Duplicate ports allowed

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 2.0k 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
      sai
      last edited by

      If I have a NAT rule and then copy it I correctly get the error
      "The external port range overlaps..".

      Now if I have a rule with TCP/UDP and then copy it but with just TCP this is allowed, even though it should not be allowed.

      e.g.

      I have

      If Proto       Ext. port range NAT IP                             Int. port range
      WAN TCP/UDP 25 (SMTP) 10.10.10.62 (ext.: 2.2.2.2)      25 (SMTP)

      I can add

      If Proto       Ext. port range NAT IP                             Int. port range
      WAN TCP      25 (SMTP)           10.10.10.62 (ext.: 2.2.2.2)      25 (SMTP)

      and have both rules live at the same time.

      1.2 Beta 3

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234
        last edited by

        i think the gui only checks when you have 2 rules of tcp or 2 of udp or 2 of tcp/udp but not a mix

        but its not a problem the first rule wins the other is never seen

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