OPNexusdocs

Site variables

With variables you maintain an object once and deploy it to firewalls with different networks. Write {{NAME}} (capital letters, digits and _, starting with a letter) in a field of a rule, an alias, a port forward, a 1:1 NAT or outbound NAT rule, for example as source {{LAN_NET}} or as description Access {{SITE}}. You set the value per firewall on the host page under Site variables (192.168.7.0/24, Branch North, …). The page automatically lists all placeholders used by the objects destined for this host and shows which ones still have no value.

  • Resolved per host: preview, deployment, the change counters and the audit see the real values of the respective host; if a value changes, a change appears only for that host. The centrally stored object keeps its placeholders.
  • If a value is missing, nothing is sent: the preview marks the host with "Variable missing", the deployment is rejected before any host has been touched, and as a last safeguard OPNexus sends no request to a firewall that still contains a placeholder.
  • Values may contain letters, digits and . : / , @ + - _ as well as spaces (at most 255 characters); they are inserted literally, never evaluated as a pattern or as a further placeholder.
  • Not supported: placeholders in VPN tunnels and in the policy hierarchy (there the values go directly into the object); variables for device groups (default values) do not exist, every host has its own. Operators may maintain variables; whether they may also deploy is governed by separation of duties.