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

    Would there be any issue with overlaps between aliases?

    Firewalling
    3
    4
    706
    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.
    • T
      Trel
      last edited by

      Assuming all rules would be the same action (only allow, or only block, and not a mix of the two).

      If I had aliases that had common IPs or ports, would that cause any problems if I had rules for both?

      Such as
      Alias 1: ports 1-20
      Alias 2: ports 15-25

      and then I allow them both.

      1 Reply Last reply Reply Quote 0
      • R
        rjcrowder
        last edited by

        Aliases can be anything… You just need to make sure the way you build rules makes sense based on the fact that they are executed in order and processing stops when the first rule evaluates as true.

        1 Reply Last reply Reply Quote 0
        • T
          Trel
          last edited by

          @rjcrowder:

          Aliases can be anything… You just need to make sure the way you build rules makes sense based on the fact that they are executed in order and processing stops when the first rule evaluates as true.

          Yep, I wasn't worried about the order just if there'd be any issues with having the same port/ip/etc in two different aliases.
          All of these are to be used for allow rules.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            That won't matter. You can have completely identical aliases with different names if you want. The rules only see the aliases on the individual rules, so oversimplify it a bit: A rule only knows about the items in the alias used on that rule.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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