Repository navigation
Releases
Releases · OPNexus-dev/OPNexus
1.42.3 „Dublin“
- Containers locked down further. (
docker-compose.ymlchanges;opnexus updatetakes the new file as usual, a rollback to 1.42.2 runs with it, and local overrides keep merging.) Backend, frontend and proxy now run with a read-only root filesystem (/tmpand Next's cache live in memory) and only the Linux capabilities they need: the backend six (the onesstart.shuses to hand the volumes to the unprivileged user and then drop root), the proxy onlyNET_BIND_SERVICE, the frontend none. PostgreSQL, its backup job and the updater getno-new-privileges; every service gets a process limit. The updater deliberately keeps root inside its container: it runs theopnexuscommand line against your project directory, and whoever takes it over holds the Docker socket anyway (seeSECURITY.md). If a local change of yours needs to write somewhere the new setting forbids,read_only: falseindocker-compose.override.ymlundoes it for that service. - Node.js 20 → 24 (LTS). The frontend image and the CI use the current long-term-support line of Node.js; the 20 line has reached end of life. Lint, all 296 frontend tests, the production build, the smoke and keyboard tests pass unchanged;
npm auditreports nothing. - Software bill of materials and build provenance. Release images now carry an SBOM (SPDX) and a full build provenance attestation inside the same multi-architecture index; the signed digest and the copy to the second registry are unchanged.
- Frontend dependencies. Next.js 15.5.28 → 15.5.29 (three moderate advisories); the test runner vitest 3 → 4 and a
npm audit fixof the lint toolchain clear the remaining findings in the lock file (they were never part of the images). - No test packages in the backend image.
pytest,pytest-asyncioandrespxmoved tobackend/requirements-dev.txt; the image installs onlyrequirements.txt. - Documentation. What the optional updater's Docker socket means, how to leave it out (
./opnexus updatefrom the console does the same checks) and why rootless Docker is the better way to run it: manual section "Updates per Klick" andSECURITY.md.
1.42.2 „Dublin“
- Fewer findings in image scanners (Docker Scout, Trivy). No exploitable vulnerability was known, but the scanners flagged a long list of outdated parts in the images, and now far fewer remain. Updater: cosign (checks the signature of new images before an update) moves from 3.1.3 to 3.1.6, which is built with a current Go and clears all critical findings of that image; the Alpine packages are brought up to date at build time (krb5-libs). Frontend: npm, npx, corepack and yarn of the base image are removed, because only
node server.jsruns there; their built-in dependencies were most of its findings. Alpine packages are updated as well. Backend: curl and gnupg, which were only needed while building to fetch the PostgreSQL package key, are removed from the image, and the Debian packages are updated at build time. What remains in the backend are Debian base-library findings for which Debian has not published a fix yet; the code does not use the affected parts (seeSECURITY.md). Signature checks of updates behave as before.
1.42.1 „Dublin“
- The management check in front of every dialog that can cut OPNexus off. The preview dialogs of aliases, port forwards, 1:1 NAT, hierarchy rules and IPsec/OpenVPN/WireGuard now show the same read-only check as the rule preview: a sure finding asks for a tick before the deploy button works, an unclear answer shows as a note. VPN changes have no automatic revert, so there an unclear answer needs the tick as well. Deleting a rule, a hierarchy rule or a VPN object, taking a firewall off one, and the Reassert ordering button ask one question that names the finding instead of a second question after the refusal; for deleting and removing, an unclear answer counts too. The server still refuses only on a sure finding (VPN: also on an unclear one), and the question after a refusal stays as the safety net.
- The audit trail records an acknowledged warning. When someone confirms a management warning and the check would really have refused, the entries of that change carry
management_ack: firewall, who (OPNexus or a management source), port, interface and verdict. This covers deploying and deleting rules (also in a bulk run), aliases, port forwards, 1:1 NAT, hierarchy rules, VPN, moving a rule and reasserting the order. No warning, no entry. - DNS changes on a firewall that is entered by name. If a firewall is reached by a host name and you change its own DNS (host override, forwarding), the network preview now says the connection may depend on that DNS and asks for the acknowledgement like the other connection risks (ticking the box and typing the firewall's name; through the API the call is refused with
NETWORK_ACK_REQUIREDuntilacknowledgeis sent). This applies to every host-override or forwarding change on such a firewall, not only to those that really hit the connection: OPNexus cannot tell, so it asks every time, as it already does for the other tunable changes. Firewalls entered by IP address are unaffected. - Deleting an alias that a rule outside OPNexus still uses now says which rule uses it and on which firewall, in plain words, instead of showing the firewall's raw answer. Nothing is changed on the firewall that refuses, and the alias stays in OPNexus. If an alias is on several firewalls and one of them fails for another reason, the error still lists every failure. Works with the answer of older OPNsense versions (24.7 to 26.1), which does not name the alias.
- Release gate: keyboard path of the rules page. A browser test (German and English) checks j/k/arrows, x, /, e, c, d and ?, that no shortcut fires in the search field or behind an open dialog, and removes its two draft rules afterwards.
- Custom roles: the menu, the buttons and the messages fit the role. The menu kept the pages of the account that had signed in before until the page was reloaded (up to a minute), so a limited role could briefly see every group; it is now asked again at every sign-in and sign-out. The menu hides a group when none of its pages can be read and also the Dashboard and the Management tunnel when the role lacks the matching read permission; the server still decides, a deep link opens the page with its message. The New / Adopt / Edit buttons on rules, aliases, groups, NAT, hierarchy, VPN, certificates and the network pages are greyed out for a role without the matching write permission (before, any role that could change something elsewhere got them enabled and was refused afterwards). The refusal now names what is missing in words, as in the roles editor: "Your role does not include this permission: “See rules, aliases, NAT and the rule analysis”." instead of the raw key. The dashboard no longer asks for compliance, notifications, firmware status or the version check when the role may not read them (no silent 403s), and leaves out the cards that would need them.
1.42.0 „Dublin“
- Your own roles. Besides admin, operator and read_only you can make roles from a list of permissions (Settings › Access › Roles): an auditor who only reads the audit trail, someone who prepares rules but may not roll them out, a network team that manages VPN and certificates only. An account has one role; a change to a role applies from the next request. Nobody can hand out a permission they do not hold themselves, built-in roles cannot be changed, and a role that is still in use cannot be deleted. API tokens never do more than their account. SSO groups map to any role through an ordered list (first match wins) instead of three fixed fields. Every endpoint now has a permission in one central table (a request to an endpoint without one is refused, and a test fails the build when a new one has none); the old access rules were replaced by it and a test proves that the three built-in roles and all token scopes decide every endpoint exactly as before. The menu hides pages an account may not look at. Details in the handbook.
- Change report. Monitoring › Audit › Change report lists every change since a date, one row per operation (who, what, which firewalls, result, comment), filterable by firewall, user and type, with CSV download and a clean print view. Sign-ins and refused attempts are left out (the page says how many); unclear operations stay in; a list cut at 5000 operations says so. Also as
GET /api/audit/changesand as the MCP toolchange_report. Read only, open to every signed-in role. - Keyboard and bulk changes on the rules page. j/k move a cursor through the rules, x selects, / jumps to the search, e edits, c clones, d disables or enables the marked rule as a draft, ? lists the shortcuts. The bulk bar gained Disable, Enable and Clone: each rule goes through the normal single-rule change one after the other (a rule waiting for confirmation is skipped, a failure does not stop the others). All of it changes drafts only; deploying stays the explicit review step. Off while typing or while a dialog is open.
- Safer bulk deploys: the management check reads the firewall again. The check that guards a real push used a one-minute copy of the firewall that was never discarded after a write, so the second rule of a bulk run was checked against the state before the first one. It now reads the firewall again before every push, and any write to a firewall discards the copy. In the bulk dialog the selected rules are also checked together (
GET /api/rules/bulk/management-check), because rules can be harmless alone and block in combination. - The management-path check now also covers hierarchy rules, alias deployments, port forwards, 1:1 NAT, removing and deleting rules, and moving rules. Taking a rule off a firewall (Remove from this firewall, or deleting the central rule), moving a rule in the order view and deploying a hierarchy rule are refused when they would block the way OPNexus or a management source reaches the firewall; the dialog names the firewalls and asks once more, and the API takes
acknowledge_management_risk. Rollbacks and taking a change back are never checked. Read-only hints:GET /api/rules/{id}/management-check?action=remove|delete, the same for hierarchy rules, andGET /api/rule-order/hosts/{id}/management-check. An alias deployment is checked against every rule on the firewall that names the alias (also through other aliases), managed by OPNexus or not: an alias that drops the address OPNexus uses from a rule that lets it in is refused until acknowledged; content that only the firewall can resolve (URL tables, GeoIP, host names) is a hint, not a stop. Port forwards and 1:1 NAT are checked as well (a destination NAT is applied before the filter rules: a forward or mapping for the firewall's own address takes the management traffic away; the NAT rows OPNsense generates for the LAN web interface and SSH keep that way open). Outbound NAT is not checked (it only changes packets that leave the firewall). VPN follows. - Two people editing the same thing: the second save is refused instead of overwriting the first. Already the case for rules, aliases, NAT, VPN and certificates; now also for firewalls (edit dialog), hierarchy groups, maintenance windows, host variables, notification channels and rollout plans. The editor sends the version it was filled from; if someone saved in the meantime, the save is refused with "The entry changed in the meantime. Reload and review the changes again." and what you typed stays on screen. API clients that send no version work as before (
expected_version/expected_updated_atare optional). - Rule history: the draft against what is deployed, and what happened to the rule. The history dialog of a rule starts with the fields the draft would change on each firewall (or the note that nothing is to roll out) and the last operations on this rule from the audit.
- Review fixes before release (security). A custom role with users.manage could reset the password or second factor of an administrator (or change or delete the account) and sign in as them; now these four actions need an account whose role holds no more than your own, and nobody changes their own role. Changing the SSO settings (issuer, client, claim) with a stored "group → admin" row needed no more than settings.write; now every role in the group list must be one you could hand out. A role that holds more than you cannot be edited or deleted by you. The route table is now also a hard gate: when the router would serve a request but the table has no row for it, the request is refused instead of let through. Reassert ordering of a hierarchy group is checked against the management path (it moves rules with no way back of its own). VPN checks report "cannot tell" when OPNexus's own address is unknown even with management sources set, and NAT checks when the firewall's NAT list cannot be read.
- Logs: from a line to the rule. A new Rule column links a log line to the OPNexus rule that wrote it, when the rule id in the line is a rule OPNexus deployed on that firewall (hierarchy rules link to the hierarchy). Other lines show the logged text without a link.
GET /api/logsreturnsruleper line.
1.41.2 „Copenhagen“
Fixed
- Login: what you type before the page has finished loading is kept. Text typed into the Sign in form (or filled in by a password manager) while the page was still loading was wiped the moment the page's JavaScript started, so you had to type it again. The fields are no longer reset when the page starts, and signing in uses what is in them.
- No flash of the wrong theme while a page loads. With a chosen theme that differs from the operating system's (for example Dark chosen, system set to light), every page load showed one frame in the other theme before switching to the chosen one. The chosen theme is now applied from the first frame on. Switching the theme in Settings and the sync between browser tabs work as before.
1.41.1 „Copenhagen“
Documentation
- Verifying the images needs cosign 3 or newer. The signatures use the scheme of cosign 3; with cosign 2.x the check says
no signatures found. Stated in the handbook (English and German) and on the website; the website command now includes--insecure-ignore-tlog=truelike the handbook. - Opening OPNexus from another machine. The quick start (README, handbook, website) said "open
https://<server-ip>", but by default the proxy only answers forlocalhostand a request by IP gets an empty page. It now says so and shows the.envlines to set (OPNEXUS_SITES,OPNEXUS_DEFAULT_SNI,FRONTEND_ORIGIN, plusCOOKIE_SECURE=trueso the session cookie is only sent over HTTPS).
Fixed
- Signature check names the cosign version. When
opnexus updatecannot verify an image and cosign saysno signatures found, the message now adds that cosign 3 or newer is required (cosign 2.x cannot read the signatures). The check still stops before anything is changed. - Login: submitting before the page has loaded. If the Sign in form was submitted (Enter or a click) before the page had finished
loading, the browser sent it natively: the page reloaded and what had been typed was lost, and the next try could look like a wrong
password. The button now stays disabled until the page is ready, and the form is declaredmethod="post"as a backstop. - Rules: automatic rollback is now announced, per firewall. A change that is not confirmed within the confirm window is rolled back by the
server, firewall by firewall; for a new rule nothing on the page said so, the status simply fell back to "Changes pending". The rules page now
shows a notice naming the rule and the firewalls ("... was not confirmed in time and has been rolled back automatically on: ..."). It also
covers a rule that stays live on one firewall while another one was rolled back. The notice appears only while the rules page is open.
1.41.0 „Copenhagen“
- A redesigned interface. The whole interface was reworked on shared building blocks (no new function): every page has the same head and margin, tables turn into cards on a phone instead of being cut off, the navigation is labelled from 1024 px wide and becomes a side menu below, filters and row actions follow one pattern, the touch targets are larger on touch screens and text fields no longer make iOS zoom in. The audit page shows one row per operation (a request with all its steps; click for the steps and what they changed) instead of one card per step; new read-only API
GET /api/audit?group=operation. The accessibility check (axe) finds nothing on any page. - Save buttons stay grey while there is nothing to save. In Settings and in every edit dialog (hosts, users, groups, rules, aliases, NAT, VPN tunnels, certificates, ACME, rollout plans, maintenance windows, host variables) the Save button becomes active only after you changed something, and grey again when you undo the change; after a failed save it stays active so nothing is lost. Creating something new is never held back, and an older revision you restore can be saved right away. Also fixed: on the management-tunnel page the automatic refresh overwrote what you were typing.
- Selects look the same everywhere. Drop-down fields have the height of the other fields and their own arrow in every browser (Safari drew a small native control), and rows that mix a select with text fields line up at the bottom edge.
- One certificate for all addresses (fixes a browser warning on the HA address). The proxy now issues ONE certificate that contains every address from
OPNEXUS_SITES, signed by the same internal CA, instead of one certificate per address. A browser that opens a plain IP sends no name, so it used to get the certificate of the default address only: the shared address (VIP) of an HA pair showed "certificate is not valid for this address" even with the CA imported. The certificate renews itself; the CA is unchanged, so nothing has to be imported again.OPNEXUS_WEB_CERT=internalbrings back one certificate per address. - Your own certificate for OPNexus:
opnexus cert.opnexus cert install --cert FILE --key FILEtakes a certificate from your company CA (or one issued elsewhere), checks it (readable, key matches, not expired, which of your addresses it covers), installs it, restarts the proxy and checks what the proxy really serves; if it does not serve the new certificate, everything is rolled back.opnexus cert statusshows the source, addresses, expiry and fingerprint;opnexus cert removegoes back to the internal CA. On an HA pair the primary hands the certificate to the standby right away (and again with every sync if the standby was away). The same is in the web interface under Settings › Access › Web certificate: the certificate that is served now, an install dialog that checks certificate and key first (and names the addresses the certificate does not cover) and only then allows installing, and a way back to the internal certificate. The private key passes through once and appears in no log and not in the audit trail.OPNEXUS_WEB_CERT=auto|internal|customis the setting behind it.
1.40.0 „Berlin“
- Safer deploys: the management path is checked. The automatic rollback runs inside OPNexus and needs the way from OPNexus to the firewall API, so a rule that blocks exactly that way could not be taken back automatically. The preview (single rule and the dialog for several rules) now asks each target firewall, read-only, whether the rule would turn a passing management packet — from OPNexus itself or from a configured management source — into a block. A sure finding needs an explicit acknowledgement, and the server refuses the deploy without it (API and bulk included). A default-deny at the end of the list does not warn while an earlier rule still lets the traffic through.
GET /api/rules/{id}/management-check. - Comment on deploy (optional setting). Every rule deploy takes a comment (reason or ticket number), stored in the audit entries and shown in the audit list. Settings › Sign-in & access › Require a comment when deploying makes it mandatory (off by default). Migration 0039.
- "Used by" for aliases. A new button on every alias lists the centrally managed rules, port forwards, 1:1 and outbound NAT, hierarchy rules and other aliases that use it; an alias that is still used cannot be deleted any more (the refusal names what uses it).
GET /api/aliases/{id}/usage. - Audit shows what changed. Opening a deployment entry shows the changed fields as a before/after table and the comment; the raw record moved to "Technical details", and the bare "HTTP 202" lines are hidden.
- Log filters for source IP, destination IP and port. Three new fields on the log page (one exact address each; port matches source or destination), and every address and port in the table is a click-to-filter link.
- One confirmation dialog. The 35 native browser dialogs (delete, revoke, remove from host, stop service, …) are replaced by one themed, translated dialog that can be used with the keyboard; destructive actions get a red confirm button.
- Smaller fixes. Audit and NAT have their own navigation icons (Logs and Audit shared one, which mattered on phones where the navigation shows icons only); the header of the security page wraps on narrow screens.
- Public repository. The 2026-10-07 security review (with its reproduction material) and the maintainer's release scripts are no longer part of the public snapshot;
SECURITY.md, theopnexuscommand and the image verification stay.
1.39.2 „Amsterdam“
- Uses the whole screen. The page column was limited to about 1100 px, so on a large monitor more than half of the screen stayed empty and wide tables (the live rules view with its columns for both firewalls, for example) needed horizontal scrolling. The content now grows with the window up to about 1900 px; on a phone and a laptop nothing changes. In the live rules view the edit and history buttons are icons with a tooltip and the cells are tighter.
- Repairing rule links also works when the rule was changed by hand. If the secondary holds the partner's rule ID but the rule differs from the central one (someone edited it on the primary, the config sync copied it), "Check and repair" now offers it as "same rule ID as on the partner, but the content differs" and lists the differing fields. It is never repaired automatically; deploying the central rule later overwrites the live changes.
1.39.1 „Amsterdam“
- Rule links are repaired after an OPNsense config sync. When the primary of an HA pair pushes its rules to the secondary (System › High Availability, item "Firewall rules"), the secondary holds the primary's rule IDs instead of the ones OPNexus recorded when it deployed there. The rules were all in place, but the live view called them "local" on that node and editing them for that firewall failed. OPNexus now notices this: the observe loop re-links a deployment by itself when the live rule carries the partner's rule ID and has the same content, and for everything less certain the live view shows a notice with "Check and repair" (a preview of what changes; only OPNexus's own records are changed, never a firewall; every link repaired is an audit entry). New API:
GET /api/rule-order/hosts/{id}/linksandPOST …/links/repair. - Clearer tags in the live rules view. One column "Managed by" with one calm tag per rule (Central blue, Local only neutral grey instead of warning orange, Hierarchy, System) and a tooltip that says what each means; the cryptic "not everywhere central" tag is replaced by a warning icon that names the firewall and offers the repair; a disabled rule is shown greyed with a small "off" tag instead of struck through plus a word. Rows are one line again.
- CI. The language check of the release gate (
scripts/check_server_texts.py) no longer needsgit(it failed in the GitHub CI container with "dubious ownership").