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

    Custom non contingnious "Destination port range" when creating firewall rule

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 1.2k 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 Offline
      Snailkhan
      last edited by

      hi
      is it possible to define a list of custom non contiguous ports to be used in one firewall rule ?
      i have created an alias for ports but when creating firewall rule it wont show in "Destination port range" filed . .it has some predfined values or one can specify a contiguous range of ports.

      while i can create 10 rule to block/allow each specific rule but they all are meant for one task but i want to know if it is possible to create a group of ports that i can use in firewall rule ?

      i think this was possible in 2.2 and any filed that would accept alias had red color .. which i do not see in current version.

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        Did you put in a letter or Number in the box that your alias starts with?  It will then show you any aliases that start with that letter.

        portalias.png
        portalias.png_thumb

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 0
        • S Offline
          Snailkhan
          last edited by

          thanks
          just moments after editing my post "i think this was possible in 2.2 and any filed that would accept alias had red color .. which i do not see in current version."

          i tried and it accepted it.

          however i missed this feature in 2.3 that made things obvious

          1 Reply Last reply Reply Quote 0
          • N Offline
            NOYB
            last edited by

            @Snailkhan:

            hi
            is it possible to define a list of custom non contiguous ports to be used in one firewall rule ?

            If I understand the question it must be.  I have such an alias.

            @Snailkhan:

            i have created an alias for ports but when creating firewall rule it wont show in "Destination port range" filed . .it has some predfined values or one can specify a contiguous range of ports.

            Have to select "(other)" as the "From" and "To" in order to see aliases in "Custom".

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