OPNexusdocs

Table view, usage and overlaps

The rule list has two views (switch at the top right, your choice is remembered in the browser): Cards and the compact Table (the default). The table shows one line per rule: action (green pass, red block, amber reject), name with interface, direction, protocol and number of targets, source, destination, status per target and Last hit. Click a column header to sort; the Usage filter limits the list to rules in use, unused, still collecting data or unknown.

  • Last hit comes from the pf counters that OPNexus samples regularly (see "Rule usage"). Times are shown, not counters: every apply resets pf's counters. A rule that was never hit is Collecting data until it has been watched for 30 days, and only then Unused. For a rule on both firewalls of a pair the newest hit of any node counts, because the CARP master sees the traffic; if one node has no data, the rule is never called unused. Rules that are not deployed yet show "—".
  • Overlap check: the preview (and the dialog for several rules, see below) asks the target firewalls whether the rule would be shadowed by an earlier rule (it would never take effect) or duplicate one, and which later rules it would make pointless (for example a block-all on top). The check is a hint: it reads the firewalls, writes nothing, never blocks the push and does not change the preview token. A rule that is not deployed yet is judged by the position it would land in (end of its priority group, or the front for "Very top") and is therefore at most "probably"; if a firewall cannot be read the preview says so.