1
24.7 Production Series / Re: Problems accessing WebUI
« on: September 03, 2024, 10:50:31 pm »
Glad that your problem was that minor. I would just want to give small tips, incase you ever loose access to web GUI ever again.
As long as issue is just not being able to connect to WebGUI, in most cases all you have to do, is access the console via SSH or physical method and either select restore backup. By default, opnsense automatically creates an backup everytime, you make changes to system. Now it does start overwriting oldest backup after x amount of changes made (can't remember what default value is, since I changed mine, but it is quite high and propability it working is high, as long as last 20 or so changes caused the issue).
As long as you have access to console, you are able to either revert to quite a few last automatic backups named on date and time they were created (unless you have disabled it) or less safe option which is disabling firewall from shell.
Best practice would be creating backups before and after you have made changes to the system, or configure automatic backups (https://docs.opnsense.org/manual/how-tos/cloud_backup.html) in which case you are always able to just reset everything to factory defaults
As long as issue is just not being able to connect to WebGUI, in most cases all you have to do, is access the console via SSH or physical method and either select restore backup. By default, opnsense automatically creates an backup everytime, you make changes to system. Now it does start overwriting oldest backup after x amount of changes made (can't remember what default value is, since I changed mine, but it is quite high and propability it working is high, as long as last 20 or so changes caused the issue).
As long as you have access to console, you are able to either revert to quite a few last automatic backups named on date and time they were created (unless you have disabled it) or less safe option which is disabling firewall from shell.
Best practice would be creating backups before and after you have made changes to the system, or configure automatic backups (https://docs.opnsense.org/manual/how-tos/cloud_backup.html) in which case you are always able to just reset everything to factory defaults