OPNexusdocs

Interfaces

Network › Interfaces lists every interface of the firewall as OPNsense reports it: device and identifier (wan, lan, opt1 …), description, status, MAC address, MTU, media, VLAN tag and parent, IPv4/IPv6 type and addresses, and whether the interface is assigned. The interface OPNexus uses to reach the firewall is marked Management. An interface with a change waiting to be applied on the firewall shows its pending action.

What you can do (all through preview and apply):

  • Edit an interface: description, enabled, IPv4 type and address/prefix, gateway, IPv6 type, address and gateway, MTU, Block private networks, Block bogon networks and Lock (prevents removal). The description may contain only letters, digits and underscores.
  • Assign or delete an interface: deleting makes OPNsense remove every rule and NAT entry that uses it; the preview lists them.

Good to know:

  • Version: changing interface IPs through the API works from OPNsense 26.7.6. On older firewalls the page is read-only and says so.
  • Two-stage on the firewall: interface changes are staged and then applied. While something is already staged there, OPNexus blocks new changes ("Interface changes are already staged"), so nothing foreign is applied along with yours. Check and apply or discard the staged change on the firewall first.
  • Locked interfaces cannot be deleted; remove the lock first.
  • Management interface: editing or deleting it, or changing the address OPNexus uses, needs the extra confirmation described under Network. Changes to wan or lan that are not the management interface only get a warning.
  • Who: previewing needs prepare (hosts.prepare), applying needs hosts.operate.