Skip to main content
RunBook Academy

OPNsenseXLI · Upgrades and Plugin ManagementUpgrade process

Upgrade process and cadence — when to upgrade, how often, and what to read first

Intermediate⏱ ~14 minconfigctlsshbeadm

What you'll learn

  • Read the OPNsense release notes and identify breaking changes before upgrading
  • Choose a production-safe upgrade cadence for security and feature releases
  • Apply the staged rollout pattern that catches regressions before production
  • Schedule the upgrade window that minimises business disruption

Prerequisites

Verified against OPNsense 25.x · FreeBSD 14.x · PF (FreeBSD packet filter) FreeBSD 14.x · Unbound 1.20+ · Kea DHCP OPNsense 25.x plugin · WireGuard in-kernel + OPNsense plugin · strongSwan (IPsec plugin) OPNsense 25.x plugin · OpenVPN 2.6.x · Suricata 7.x · 2026-08-14

Not yet marked complete on this device.

OPNsense ships releases on a predictable cadence. The cadence exists to give operators a window for testing, to bound the time a known vulnerability stays unpatched, and to make upgrades boring. The operator who treats upgrades as ad-hoc — upgrading when reminded by an email, upgrading without reading the notes, upgrading all appliances on the same weekend — turns a boring maintenance task into a production incident.

This lesson covers the release cadence, the security vs feature release distinction, the staged rollout pattern, and the reading every operator must do before the upgrade button is clicked.

The OPNsense release cadence

OPNsense publishes:

  • Business editions (formerly “LTS” lineage) — supported for an extended window, focused on stability. Updated monthly with security and bug fixes.
  • Community editions — released more frequently, with newer features and kernel updates. Updated weekly to monthly.

A release carries a version (e.g. 25.7), a release date, and a set of release notes. The notes enumerate:

  • Security fixes (CVE references, severity, affected versions)
  • New features
  • Changed defaults
  • Removed features
  • Plugin compatibility notes
  • Known issues at release time
  • Migration steps (when a release requires manual action)

The disciplined operator reads the release notes before upgrading. The notes are the operator’s first signal of what to test, what to avoid, and what to roll back if the upgrade breaks things.

Security releases vs feature releases

Not every release carries the same risk. The disciplined cadence treats security releases and feature releases differently.

Release typeWindowRisk profileOperator action
Security advisoryWithin 7-14 daysTargeted fix, narrow scope, low regression riskTest in pre-prod, deploy within the window
Patch release (25.7.x)Within 30 daysBug fixes, low regression riskTest in pre-prod, deploy quarterly
Minor release (25.x25.x+1)Within 60-90 daysNew features, possible default changesRead release notes, test in pre-prod, deploy in staging window
Major release (25.x26.x)Within 90-180 daysNew kernel, new PHP versions, possible breaking changesRead release notes, full DR test, staged rollout

The 7-day security window is the floor. A disclosed CVE with public exploit code is a 7-day window regardless of the operator’s normal cadence. The 90-day minor-release window is the ceiling for features that do not block business work.

Read-only / Safeopnsense-version
$ opnsense-version -v
OPNsense 25.7.3 (amd64)
FreeBSD 14.3
Built: Fri Aug  1 12:14:02 UTC 2026

Illustrative output

The staged rollout pattern

The disciplined operator does not upgrade all appliances on the same weekend. The staged rollout catches regressions before they hit the production firewall:

  1. Lab appliance first. The operator’s personal lab or a dedicated test bench. Full upgrade. Full test. Document any issue.
  2. Pre-production appliance. A non-critical firewall (a branch-office appliance, a DMZ front-end) that exercises the same configuration patterns. Full upgrade. Smoke test.
  3. Secondary production appliance. The standby node in an HA pair. Upgrade it. Confirm the HA pair stays in sync. Failover test.
  4. Primary production appliance. After 7-14 days of stable operation on the previous appliances. Upgrade during a maintenance window. Watch the monitoring closely for 24 hours.

The staged rollout takes weeks. The discipline is that the upgrade does not land on the primary production firewall until the same release has run cleanly on every other appliance in the fleet.

Scheduling the upgrade window

The upgrade window is when the firewall is expected to be briefly unavailable. The window is sized by the upgrade type:

Upgrade typeWindow length
Patch (25.7.325.7.4)15-30 minutes
Minor (25.725.7.5)30-60 minutes
Major (25.x26.x)60-120 minutes

The window is announced in advance, scheduled to avoid business-critical hours, and staffed by at least two operators — one to drive the upgrade, one to monitor the network and handle a rollback if the upgrade fails. The backup is taken immediately before the upgrade begins (see Part XL on backup strategy). The boot environment snapshot is the rollback target.

The reading checklist

Before every upgrade, the operator reads:

  1. Release notes. The migration notes, the known issues, the breaking changes.
  2. Security advisories. If the release is a security release, the CVE details and the affected configurations.
  3. Plugin compatibility list. Each installed plugin’s compatibility with the new release.
  4. Forum threads. The OPNsense forum often surfaces real-world upgrade issues before the release notes are updated.
  5. Backwards-incompatible API changes. If the operator’s automation depends on the API, the API changelog must be checked.

The reading is the operator’s insurance. The upgrade that proceeds without reading the notes is the upgrade that turns a 30-minute maintenance window into a 4-hour incident.

Summary

  • OPNsense has a predictable release cadence. Security releases within 7-14 days, minor releases within 60-90 days, major releases within 90-180 days.
  • The release notes are part of the upgrade artefact. Read them.
  • The staged rollout catches regressions before production.
  • The upgrade window is sized by the upgrade type and staffed by two operators.
  • A backup is taken before every upgrade. The boot environment is the rollback target.

Knowledge check · 4 questions

  1. Q1. A critical CVE in the IPsec IKE daemon is published with public exploit code. According to the disciplined upgrade cadence, what is the appropriate window for the patch release?

  2. Q2. OPNsense creates a ZFS boot environment snapshot before every firmware upgrade, allowing the operator to roll back to the pre-upgrade state from the boot menu if the new release fails to boot.

  3. Q3. Which of the following belong in the staged rollout pattern for a minor release upgrade? Select all that apply.

  4. Q4. A patch release is scheduled for 02:00 local time on a Sunday morning. The upgrade window is sized at 30 minutes. Which of the following are minimum staffing requirements?

Passing score: 75%. Answers are checked in this browser.