Would you like to learn how to perform the OPNsense backup and restore procedure? In this tutorial, we are going to show you how to backup your OPNSense configuration and how to restore your OPNsense configuration.

• OPNsense 19.7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

OPNsense – Configuration Backup

Open a browser software, enter the IP address of your Opnsense firewall and access web interface.

In our example, the following URL was entered in the Browser:

• https://192.168.15.11

The opnsense web interface should be presented.

opnsense login

On the prompt screen, enter the OPNsense Default Password login information.

• Username: root
• Password: Password set during OPNsense the installation

After a successful login, you will be sent to the OPNSense Dashboard.

opnsense dashboard

Access the Opnsense System menu, access the Configuration sub-menu and select the Backup option.

opnsense backup menu

On the Backup configuration area, perform the following configuration:

• Do not backup RRD data – No
• Encrypt this configuration file – Yes
• Password – Enter an encryption password to protect the OPNsense Backup
• Confirmation – Enter an encryption password to protect the OPNsense Backup

Click on the Download configuration button.

opnsense backup

Your computer will download a XML file containing the OPNsense configuration backup

OPNsense – Configuration Restore

Open a browser software, enter the IP address of your Opnsense firewall and access web interface.

In our example, the following URL was entered in the Browser:

• https://192.168.15.11

The opnsense web interface should be presented.

opnsense login

On the prompt screen, enter the OPNsense Default Password login information.

• Username: root
• Password: Password set during OPNsense the installation

After a successful login, you will be sent to the OPNSense Dashboard.

opnsense dashboard

Access the Opnsense System menu, access the Configuration sub-menu and select the Backup option.

opnsense backup menu

On the Restore screen, perform the following configuration:

• Restore Area – Select all
• Reboot after a successful restore – Yes
• Configuration file is encrypted. – Yes
• Password – Enter the encryption password

Upload the XML file and click on the Restore Configuration button.

opnsense restore configuration

Your computer will upload the XML file and restore the OPNsense configuration backup.

After restoring the configuration the OPNsense server will reboot.