Last verified: November 2026.
OPNsense Reset: Quick Answer
- At the console menu enter 4 to reset the whole firewall to factory defaults.
- Enter 3 to reset only the root password.
- After a factory reset log in at https://192.168.1.1 as root / opnsense.
- Make a backup first under System > Configuration > Backups; a reset removes all rules and settings.
Factory Reset OPNsense
- Connect to the Console window
- You can see the following 13 console menus
- To reset to factory default, enter 4
- To reset the root password enter Option 3
Reset root password
If you forget the root password, then you have to boot the device in Single user mode to reset root password.
In single user mode enter the following.
#passwd
Changing password for user root.
New password: