Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Cannot Delete alias
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot Delete alias (Read 3183 times)
cbyrd
Newbie
Posts: 9
Karma: 1
Cannot Delete alias
«
on:
August 20, 2020, 09:48:16 pm »
I have 2 alias I am trying to delete but I get the following error
Cannot Delete alias. currently in use by
[filter.rule.7/source.address]
filter.rule.8/destination.address]
The other alias is the same but with rule 6 and 9.
I have checked and non of the rules have any of these alias. I did have rules using those alias but they have been deleted.
I have done a states reset and also rebooted the firewall.
Using 20.7.1
Thanks
Chris
Logged
cbyrd
Newbie
Posts: 9
Karma: 1
Re: Cannot Delete alias
«
Reply #1 on:
August 21, 2020, 10:59:03 pm »
Tried Restarting again. Still cannot delete..
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: Cannot Delete alias
«
Reply #2 on:
August 22, 2020, 09:46:44 am »
config import or interface(s) removed?
If the rules would have descriptions it would have shown those as well, but without them it can only point to the physical location (in the config.xml).
The easiest option probably is to backup the config.xml via System -> Configuration -> Backups) and search for the alias name (which will be found in the selected row numbers), next gently edit the xml file and remove the rules and import the file again. Make sure you keep a backup and are able to start from scratch if your not used doing these things.
Logged
cbyrd
Newbie
Posts: 9
Karma: 1
Re: Cannot Delete alias
«
Reply #3 on:
August 22, 2020, 09:16:01 pm »
Thank you for the help.
They aliases were connected to a group Firewall>Group that had been deleted. I guess when the group got deleted it did not deleted the rules associated with it. Those rules did not show up since that group was deleted.
Thanks
Chris
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Cannot Delete alias