Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Does renaming an alias break things that reference it?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 773 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
      seanmcb
      last edited by

      Hello,

      If I create an alias named 'MyServer' that refers to, say, 192.168.2.12, then create a NAT or firewall rule that references 'MyServer', and then I later rename the 'MyServer' alias to 'MyWebServer', do the NAT/firewall rules get broken?

      Thanks,

      Sean

      1 Reply Last reply
      Reply Quote 0
      • N
        Nullity
        last edited by

        I think so.

        I guess you could search & replace all instances manually with sed. I forget what the config filename is… config.xml?

        Please correct any obvious misinformation in my posts.
        -Not a professional; an arrogant ignoramous.

        1 Reply Last reply
        Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          No. It is fine. At least in non-ancient versions.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy