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

    Delete Stale Aliases - Used in Firewall Rules - Find Stale Firewall Rules

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 2 Posters 286 Views 2 Watching
    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.
    • M Offline
      mrnb
      last edited by

      I want to delete some stale Aliases.

      These Aliases are used in some firewall rules, whichi I also need to delete.

      The Error that shows up doesn't tell me on which interface these firewall rules are.

      I have a lot of interfaces and rules.

      Is there a way to search the firewall rules? I could not find a way.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @mrnb
        last edited by

        @mrnb CTRL+F in a browser, for the current page. Or save the config file and search in that.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mrnb @SteveITS
          last edited by

          @SteveITS Well thanks the assistance.

          I have a lot f subnets and its a pain to open each one to search. I've already done it but I keep missing the one I need,

          The XML based backup is also a pain the ass to use, because the interfaces it references are optxx which I can't even correlate to a particular vlan, since the Interface Assignments I renamed those interfaces and the old optxx name isn't there.

          Ahhh this is frustrating.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SteveITS Rebel Alliance @mrnb
            last edited by SteveITS

            @mrnb The config file maps internal optX [or lan or wan] interface names to the OPTX name. They're not necessarily the same, which can be confusing at first glance.

            Look for <interfaces> and then the filter (firewall) rules should each have "<interface>wan</interface>".

            Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
            Upvote ๐Ÿ‘ helpful posts!

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mrnb @SteveITS
              last edited by

              @SteveITS Thanks I finally go it resolved! It sure would be nice to have a search box on the dashboard ;)

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