OPNsense How To Update
OPNsense How To Update
com
Updates may provide new or improved features, as well as improved compatibility with various devices or
applications. They may also improve the stability of the system and remove outdated features.
They frequently include critical security patches. So that, you may keep hackers out and protect your network
infrastructure against cyber attacks.
The update schedule for OPNsense consists of two major releases per year, which are updated every two weeks. In
addition to scheduled major updates, OPNsense is updated weekly to act quickly on known security threats. The version
number of major releases consists of the year and month of release (e.g., 21.7 for the July 2021 release), with fortnightly
updates adding a third number (e.g. 21.7.2 for the second update to 21.7).
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 1/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
You may follow the announcements on the OPNsense forum (https://forum.opnsense.org/index.php?board=11.0) for all
OPNsense releases. Also, major releases are announced on the OPNsense blog posts (https://opnsense.org/blog/). Full
patch notes, fix notes, known issues, and limitations are shared on these announcements. Some updates may require a
system reboot. Also, there may be issues or limitations that cause service interruptions on your system. Therefore, It is
strongly recommended to read the release notes before upgrading the OPNsense system.
When there is an OPNsense release update available, you may see the update reminder on the OPNsense web UI
dashboard.
OPNsense manual update is a straightforward process that can be accomplished via both OPNsense web UI or
console/CLI easily. In this OPNsense update guide, we will cover both methods briefly.
DANGER
OPNsense automatic updates, especially for major releases are not recommended.
Set the next options listed below as you need and then click Save to apply the changes.
1. Firmware Mirror
You can specify the mirror site from which OPNsense attempts to obtain updates. If you're having trouble updating or
searching for updates, or if your current mirror is running slowly, you can switch to another one here.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 2/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
2. Firmware Flavour
OPNsense comes in a variety of firmware cryptography flavours. Currently, these flavours determine whether to use
OpenSSL or LibreSSL. The default setting is OpenSSL.
3. Release Type
There are three options available for the release type of the OPNsense.
Business: OPNsense Business Edition is destined for businesses, enterprises, and professionals seeking a more
selective upgrade path, additional commercial features, and a more commercial way to support the project than
donating.
Community: This release is tested on a fortnightly basis and is suitable for production environments.
DANGER
Please keep this setting set to Community unless you fully understand the implications of changing it.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 3/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
4. Subscription
If you have a Business license, you should provide your subscription key in this field.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 4/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
:::info You may click on the Click to check for updates. link in the System Information pane on the Dashboard
and then click on the Update button. :::
4. When there is an update available, the Update button is displayed at the bottom of the update packages list.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 5/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
When there is a new release available, release notes will be displayed. After reading the notes, you may click the
Close button to close the notification window.
5. Click Update button for update. This will fetch and update the packages on the OPNsense system.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 6/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
6. When the OPNsense update is completed successfully, DONE message is displayed under the Updates pane.
7. You may view the installed OPNsense version in the System Information pane on Dashboard .
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 7/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
8. After updating your OPNsense firewall, you may run the audit by clicking on the Run Audit dropdown menu on the
Status pane of the Systems: Firmware page.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 8/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
2. Health: Health audit checks for missing dependencies, missing kernel files, core package consistencies
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 9/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 10/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
3. Select 12) Update from console . Beware that reboot may be necessary. You're asked to proceed to continue. Type y
and press enter. This will automatically fetch all available updates and apply them.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 11/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
OPNsense should be performed using a VGA display or serial port so that you can see what is going on.
If there is a major upgrade available for the OPNsense firewall, upgrade instructions are displayed similar to the Figure 18
below when you check for updates on OPNsense web GUI.
Prerequisites
Requirements for the OPNsense serial access are as follows:
A serial interface must be provided as part of the OPNsense installation ( hardware or virtual)
Software that can be used to connect to the serial interface, such as PuTTY, minicom, screen, etc.)
For a bare metal installation, you will also require the following:
If your computer does not have an RS232 port, you will require a USB to RS232 converter.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 12/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
3. Scroll down to Console and select Serial console as the primary or secondary console.
DANGER
Please keep in mind that this is only required if you have already installed OPNsense and did not use the serial
installer. Serial access is already available in all other cases (accessing BIOS, running the serial installer, connecting
to a serial installation).
On Unix-like systems, use the minicom to connect to the serial console at 115200 baud. The device name can differ
depending on the system and serial device. Here are some examples of names:
INFO
ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1
You may disconnect one of the serial devices to see which one is still active, or you may investigate the dmesg log to
find out the vendor of the device node. To determine which device it is, look for a message that contains the phrase
now attached to ttyUSB1 . Following that, you may compare the previous output to the output of a tool such as
lsusb .
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 13/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
NOTE
Since accessing the serial device is restricted, you should run the command as root on Linux / BSD.
If authentication is enabled and OPNsense is running, you will now be prompted for your username and password.
Otherwise, the menu appears (at least after pressing enter). The credentials are identical to those required for SSH.
NOTE
The screen does not always update automatically. If you connect but receive no output, try pressing Enter first
before looking into the other (more complex) potentials.
Another issue is that when connecting via screen , you may be unable to scroll but you can still pipe the output using
more or less .
3. Select 12) Update from console . You're asked whether you want to upgrade to the most recent version or the next
major release.
4. Type in the major release number (for example 21.7 ) and press enter. All release files will be downloaded for an
offline upgrade (kernel, packages etc.). Then, OPNsense will reboot.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 14/15
19/6/23, 11:43 How to Update OPNsense? - zenarmor.com
5. After a reboot, it will install all updates. Once the installation is completed, it will reboot again, at which point it should
be on the preferred release.
https://www.zenarmor.com/docs/network-security-tutorials/how-to-update-opnsense 15/15