How to Factory Reset OPNsense Firewall Router

Factory Reset OPNsense

  1. Connect to the Console window
  2. You can see the following 13 console menus
  3. To reset to factory default, enter 4
    OPNsense reset password
  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.


Changing password for user root.
New password:

One thought on “How to Factory Reset OPNsense Firewall Router

  • February 13, 2018 at 5:16 am

    This way to no longer works to reset the root password.
    You have to boot into Single User, then
    Type: mount -u /
    Type: su
    Select: 3


Leave a Reply

Your email address will not be published. Required fields are marked *