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

    Does renaming an alias break things that reference it?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 536 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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.