A new OPNsense release is usually fine. The way to find out whether this one is fine for your network is to run it on a few firewalls you can afford to lose for an evening, and only then on the ones you can’t.
This guide sets that up with firmware tracks: three groups of firewalls, a maintenance window for each, and rules that keep a release in the first group until it has proved itself.
TL;DR
- Put a few low-risk firewalls in fast, most in regular and the critical ones in stable. Every other firewall stays Unmanaged and untouched.
- Each track moves its firewalls only in the windows of a schedule you attach.
- A release reaches regular and stable only after it has soaked in the track before and a firewall there has run it. With the defaults and a weekly window, that’s about a month from fast to stable.
- Promote a release when it can’t wait, halt it when it shouldn’t go. Nothing rolls a firewall back.
How a release moves
A firewall in a track is held at one exact OPNsense release, its pin, so OPNsense’s own update check sees nothing newer from OPNsense’s repositories. Each time the track’s schedule fires, every managed firewall of the track that’s online is sent to the newest release the track has approved for its OPNsense series, if it doesn’t run it already.
Two settings per track decide when the track approves a release:
| Track | Soak | Evidence |
|---|---|---|
| Fast | 1 day | none |
| Regular | 9 days | 1 firewall |
| Stable | 10 days | 1 firewall |
- Fast takes a release once it has been out for a day.
- Regular takes it once fast has approved it, a fast firewall runs it, and 9 more days have passed.
- Stable takes it once regular has approved it, a regular firewall runs it, and 10 more days have passed.
Those are the defaults, and you can change both settings on each track. With every track on one Saturday-night window, a release OPNsense publishes on a Tuesday reaches fast that Saturday, regular two Saturdays later, and stable two Saturdays after that.
Step 1: Decide who goes first
Fast should be a few firewalls whose evening you can afford to lose: a lab, a small office, the site whose admin is you. Regular is most of the fleet. Stable is the firewalls you’d rather nobody touched: the data center, the headquarters edge.
Don’t leave fast or regular empty. With the default evidence, the next track waits for a firewall in it to run each release, and the Rollout card says Too few devices in Fast can still reach this release…. If one has to stay empty, set the next track’s evidence to 0, or promote releases by hand.
Tracks work on firewalls that run OPNsense Community edition with NetDefense agent 1.25.0 or later. A firewall still waiting for approval can’t join. One with a subscription key joins but is held, never pinned, and one on an older agent gets no update steps until its agent is upgraded. Firewalls you don’t put in a track stay Unmanaged, and NetDefense changes nothing about how they update.
Step 2: Turn on Firmware
Open Firmware and select Enable Firmware. That creates the three tracks with the default settings. No firewall joins a track and no track has a window yet.
Leave Reboot after update on, the default, so a window applies the full update, base and kernel included, then reboots. With it off, a window applies userland packages only and doesn’t reboot, and base and kernel wait for a window with it on.
Step 3: Give the tracks their windows
Create a schedule on the Schedules page for each window you want, such as saturday-night at 0 2 * * 6. Then, on each track’s card, pick it in Fast windows, Regular windows or Stable windows and select Attach. Tracks can share a schedule. A track with no schedule moves nothing.
Step 4: Put firewalls in their tracks
In the Devices card, pick a track in a firewall’s Track dropdown. For several at once, tick their rows, choose a track under Move to…, select Apply, and confirm with Move devices.
Joining a track pins the firewall at the release it runs now. Nothing is installed and nothing reboots, and the firewall goes from Enrolling to Managed once its agent confirms the pin.
The first window can update and reboot
Joining doesn’t update a firewall, but its track’s first window can: it moves the firewall to the release the track has approved, which may be newer than the one it runs, and with Reboot after update on, it reboots. Pick windows you can afford from day one.
Step 5: Watch the rollout
The Devices card shows each firewall’s track, state, pinned release and last step. The Rollout card shows where each OPNsense release stands in each track, and why one is waiting.
A step that fails, or that never gets an answer from the firewall, blocks its release from the later tracks until the same firewall reaches it or you clear the failure under Failures blocking a release. A step the agent declines, because a precondition isn’t met, isn’t a failure. It’s held, and the next window tries again.
When a release can’t wait, or shouldn’t go
Promote it. For an urgent security release, select Promote… on the Rollout card, choose a track or All three tracks, and select Promote now. Promoting approves the release without its soak or evidence. It still installs nothing by itself: firewalls move at their track’s next window.
Halt it. For a release with a regression, select Halt…, give a Reason and select Halt release. No track approves it and steps not sent yet are cancelled, across the whole organization. Firewalls already on it stay on it. Lift halt puts it back in line.
Series upgrades stay off until you turn them on
A track can also move its firewalls to the next OPNsense series, 26.1 to 26.7 today. It’s off for every track until you turn on Apply major upgrades on that track’s card, and for good reason:
- The firewall is offline for the whole upgrade and reboots three times, sometimes four.
- There’s no automatic rollback. A power cut during the install leaves a firewall that needs its console, or a VM snapshot, to come back.
- It’s Community edition only, and a member of a high-availability pair is held rather than upgraded.
Try it on one firewall first: keep only that one in the track you switch on, and have its console within reach. The Series Upgrades guide lists everything to check before you do.
What tracks don’t do
- No rollback. Halting a release, moving a firewall out of its track and disabling Firmware all leave firewalls on the release they run.
- The pin is a guardrail, not a lock. It holds back OPNsense’s own repositories only. Plugin and other repositories still update, and a series upgrade started by hand on the firewall isn’t blocked.
- No high-availability coordination. Both nodes of a pair belong in the same track, so they run one release, and the same window updates both. With Reboot after update on, they can restart together.
- No forever membership. A firewall that stays out of contact for 30 days leaves its track.
The same thing from the terminal
Every step has an NDCLI equivalent. promote asks before it acts:
The Firmware Tracks guide covers every state, hold and limit in depth.