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

    Port range issue in Alias?

    Firewalling
    2
    4
    11.0k
    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.
    • R
      rds_correia
      last edited by

      I've stumbled upon a strange issue with alias.
      I can't put more than a single port on the 1st row, but can put as many as I want in the subsequent rows.
      I've taken some screens that I am posting here to illustrate the issue.

      This one shows 2 ports separated by a colon on the first row and with that I get an error message.

      Now on this one you can see 2 ports in separate rows and this works fine.

      This last one shows a single port in the 1st row and multiple ports in rows 2 and 3.
      This one works great too.

      Don't know is this has always been like that and if it's either a feature or a bug - and I don't know if this is happening only with ports or if t also happens with networks, etc - but it sure would be nice to put ranges starting on the 1st port.
      Cheers

      pfSense 2.2.4 running on a HP DL385 G5
      WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

      1 Reply Last reply Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        Don't use a comma, separate with a colon :

        ![Picture 1.png](/public/imported_attachments/1/Picture 1.png)
        ![Picture 1.png_thumb](/public/imported_attachments/1/Picture 1.png_thumb)

        AhnHEL (Angel)

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

          Talk about being dumb, huh?
          I can't believe sometimes I can be so god damned dumb, lol.
          Thanks for pointing me in the right direction onhel ;).
          Cheers

          PS: how come the comas also work in the subsequent rows?

          pfSense 2.2.4 running on a HP DL385 G5
          WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

          1 Reply Last reply Reply Quote 0
          • AhnHELA
            AhnHEL
            last edited by

            Your welcome.  ;D

            Not really sure why the commas work.  As per the instructions on the Alias page, using the colon seems to be the proper way to setup your Port Ranges so I only use the colons and not the commas.

            AhnHEL (Angel)

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