OPNexusdocs

Network (per firewall)

The Network area manages interfaces, VLANs, virtual IPs, gateways (including gateway groups), routes, DNS (Unbound entries and forwards), DHCP (dnsmasq hosts and ranges, Kea subnets and reservations) and devices (LAGG, bridge, loopback, GRE, GIF, VXLAN). These objects are firewall-specific, so there is no central copy and no multi-host push: the firewall is the source of truth.

Flow of a change:

  1. Preview: OPNexus reads the live state and shows differences, risks, warnings and blocks.
  2. Execute: OPNexus reads the state again and refuses if it has changed in the meantime. Risky changes additionally require the entry of the firewall name. Then: save a configuration backup (if this fails, nothing is changed), write, apply, read back and compare with the desired state.
  3. Every step ends up in the audit log.

Protection against cutting your own connection. OPNexus determines through which interface the firewall is reachable at the stored address. These changes require explicit confirmation: changing or deleting this interface, its VLAN or gateway, changing the default gateway, a default route or a route that covers the firewall address, and any change to existing objects if the connection path cannot be determined.

No automatic rollback. Unlike with rules, OPNexus cannot revert a change that cuts its own connection. The way back is the backup taken before the change. If the firewall is then not reachable at the old address ("applied, cannot be verified"), enter the new address under Hosts › Edit.

Further notes:

  • Interface assignment is two-stage: changes are first staged, then applied. OPNexus blocks new changes while something is already staged there, so that nothing foreign goes along. When deleting, OPNsense removes all rules and NAT entries of the interface; the preview lists them.
  • IP configuration of interfaces is possible via API only from OPNsense 26.7.6. On older versions OPNexus blocks this change and gives the reason.
  • Secrets (CARP password, DDNS key) are never displayed, stored or audited.
  • Transfer to the partner: after creating an object on one cluster node, OPNexus offers to transfer it to the partner with its own preview. Recommended: the backup node first, then the master.
  • Comparison (Network › Comparison) compares the nodes of a cluster. Addresses, CARP advskew and password as well as the active default gateway differ per node and are not compared. A deviation optionally triggers the alert "Network deviation in the cluster", which resolves itself after the correction.