Clearing invisible rules

Started by kosta, November 11, 2025, 10:40:29 AM

Previous topic - Next topic
Hello,
I recently made a change on my home network, where I went from 192.168.0.0/24 to 10.0.0.0/16.
Of course, so that I can smoothly transition, I created new VLANs instead of changing the current and migrated hosts one by one.
Finally, I cleaned up the VLANs, and now wanted to clean up the rules, and I see that I can't change many aliases or delete them, due to old rules using them.
Apparently I should have deleted all the rules prior to cleanup.
So how can I solve this now?
Thanks

You can download a configuration backup and purge everything that references old "optXX" interfaces that are not in use anymore. Just be careful you don't touch your current ones.

Afterwards import that backup. Then you should be able to delete these aliases.
Hardware:
DEC740

Thanks a lot for the quick answer, will do that, hopefully I don't mess up my firewall :D

If you mess it up just import an old backup :)

You can also do so during boot:

https://docs.opnsense.org/troubleshooting/config_reset.html
Hardware:
DEC740