Skip to content

Rule Engine

Open Operations & Health → Rule Engine to inspect and manage firewall rules on the self-hosted SSLNexus controller. Rule Engine translates intent such as allowing a service or blocking a port into structured firewall actions, with safety checks before changes are applied. SSLNexus detects the current firewall manager and inspects rules before proposing any change.

This facility manages the local controller firewall; it does not change firewalls on remote certificate deployment targets. Firewall ownership must be clear and inspection complete before modifications can proceed.

Preview, Apply And Confirm

  1. Refresh inventory to inspect the current manager, zones or chains, listeners and observed rules.
  2. Describe the desired change in the readable input, for example allow tcp port 8443 from 192.0.2.0/24, and request a preview.
  3. Review shorthand expansion, sensitive/protected port warnings, exact proposed actions, and the isolated dry-run. The syntax check does not prove reachability through all existing policies.
  4. Apply provisionally only after reviewing the preview and ensuring independent access to the host.
  5. Within the 90-second recovery window, use the persistent corner control to Confirm firewall rules or Rollback firewall change. Otherwise the watchdog reverts an unconfirmed transaction.

Rule Engine Guides

Each workspace has its own documentation. They belong to the existing Operations & Health documentation:

Supported Manager Detection And Limitations

The inspection pipeline recognises firewalld, nftables, iptables/ip6tables and UFW. Check which manager owns the active rules on the host. If several managers report the same rules or the inventory is incomplete, resolve ownership before making changes. The rule table can contain duplicate observations and cannot fully infer network reachability through upstream firewalls.

A syntax-only check is performed in an isolated network namespace. It does not enable another firewall manager or alter host networking during preview. An accepted provisional change still requires watchdog readiness before rules are applied.

Shorthands Do Not Rewrite Existing Rules

Default and user shorthand definitions are configuration for interpreting future requests. Disabling a default or removing an override does not delete an existing firewall rule. When an override is removed, an enabled effective built-in is once again available; a superseded original mapping is never revived.

When Something Fails

If a manager cannot be inspected, the isolated dry-run reports invalid syntax, or a rollback watchdog cannot become ready, the request should fail without applying rules. Review the displayed diagnostic rather than disabling safety controls. Use backups & recovery for rollback guidance and Observed Rules to verify the current state.