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

    Port alias as host alias (problem/bug) after upgrading from 1.2.3

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.6k 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.
    • belleraB
      bellera
      last edited by

      Scenario

      • Many port aliases with EMPTY port description field.
      • At pfSense 1.2.3 it was impossible to have empty port description fields because WebGUI puts date/time comment for the added port. But, some aliases came from a version before 1.2.3 and description fields where empty.
      • Upgraded to 2.0.1 loading 1.2.3 config.xml

      Result

      • Aliases with EMPTY port description field are converted to a host alias (?)
      • The firewall seems to work correctly.
      • I discovered the problem when I wanted to edit a NAT that used one of the problematic aliases.

      Solution

      • Reedit all problematic aliases. To fill port description field not necessary. WebGUI fill it with date/time comment.

      Regards,

      Josep Pujadas

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

        Those aliases did not have a <type>field in your config, so the GUI defaulted to whatever was first in the drop-down, Host. The lack of description was just a coincidence.

        Those must have been from quite an old version of pfSense, or added in manually without a type tag. Even 1.2 encoded the type=port when saved.

        Nothing can be done for those except what you stated, make sure the proper type is selected in the GUI, then save, and it will fix itself.</type>

        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
        • belleraB
          bellera
          last edited by

          Ok, thanks!

          Those must have been from quite an old version of pfSense.

          Sure. I'm using pfSense for the last 5 years. I did many upgrades !!!

          I didn't edit manually any alias.

          Regards,

          Josep Pujadas

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