OPNexusdocs

Concepts and terms

A few ideas explain most of OPNexus. Read this page once; the rest of the documentation builds on it.

Central and local. Firewall rules, aliases and NAT entries can be maintained centrally in OPNexus and deployed to many firewalls. Things that exist only on one firewall stay local to it (for example rules created in the firewall's own interface). You can adopt local objects into OPNexus (Adopting hand-made rules) or leave them alone.

Targets. A central object is deployed to its targets: individual firewalls, a device group, or both.

The safe path of a change. Nothing reaches a firewall by accident:

  1. Draft: you edit; no firewall is touched.
  2. Preview: OPNexus shows, per firewall, what would change.
  3. Deploy (push): OPNexus writes the change and applies it. It is now on probation.
  4. Confirm: you confirm within the window (default 180 seconds), and the change becomes permanent.
  5. Automatic revert: without confirmation, OPNexus puts the previous state back by itself.

Details and the exceptions are on The flow.

Drift. The difference between what OPNexus last deployed and what is actually on the firewall, typically because someone changed it by hand. The live view shows it; OPNexus never overwrites it silently.

Cluster and high availability. Two different things share the word:

  • A cluster (CARP) is a pair of firewalls that take over from each other. OPNexus groups the nodes by cluster name and compares them: HA clusters and CARP.
  • OPNexus high availability (warm standby) is about OPNexus itself: a second OPNexus instance that takes over if the first one fails: High availability (warm standby).

Who may do what. Every user has a role, and a role is a set of permissions. Three roles are built in (admin, operator, read_only); you can define your own. API tokens carry the rights of their user, optionally narrowed by a scope. See Users, roles and login.

Words used in this documentation

TermMeaning
Firewall, hostA managed OPNsense firewall. The interface and the API say host in places; both mean the same thing
Deploy, push, roll outWrite a change to firewalls. Used interchangeably; the button is Deploy or Review & push
ProbationThe state between deploying and confirming. A change on probation is live but will be reverted if you do not confirm
Revert, roll backUndo a change. OPNexus reverts automatically after an unconfirmed deploy; a rollback in the maintenance chapters means returning to an earlier firmware or configuration
PreviewThe field-by-field comparison before deploying. It is based on what OPNexus last saved, not on a live query (the live view does that)
AdoptTake over an existing firewall object into central management
NodeOne firewall of an HA pair, or one OPNexus instance of an OPNexus HA pair
ScopeThe limit of an API token (for example read-only)