Configuration Audit
os-configaudit · System
A checklist run against the firewall's configuration - rules, NAT, administration, passwords - with a score and a link to the page that fixes each finding.
In the menu
- With os-xgs-npu installed: XGS: Configuration Audit
- Without os-xgs-npu: System: Configuration Audit
The audit reads /conf/config.xml, never writing it, against 26 checks in five groups: rules, NAT, administration, users and passwords, and - where os-xgs-npu is installed - two of its settings. Each finding names its check, the object it is about and the OPNsense page that fixes it, with what it means and what to do.
It runs from the page and once a night at 03:30, so the page opens on a fresh result. A high finding the run before did not have is a notice in OPNsense's status until it is fixed or accepted. A finding made on purpose - SSH on a management network, say - can be accepted with a description, and leaves the score.
Features
-
Score
100 less 15 points for each high finding, 5 for each medium and 1 for each low, never under 0.
-
A link for each finding
To the OPNsense page that fixes it, shown only to a user who may open that page.
-
Accepted
Findings made on purpose, listed apart and out of the score; deleting the row counts one again.
-
Nightly run
At 03:30 by cron, turned off in Settings, where interfaces facing outside and a password's age are set too.
Install and update
Its first release is v1.0.0, of 2026-12-02. It is also installed by hand, as root, on an XGS appliance or on any other OPNsense: from a checkout of the repository with sh install/install.sh, which puts the page under XGS with os-xgs-npu and under System without it, and keeps the settings when run again; sh install/uninstall.sh takes it away. From its first signed release, XGS: Updates installs and updates it from its Plugins tab, with an os-xgs-npu newer than 0.2.0-alpha.1.3. It is not in the OPNsense plugin repository.
Limits, and what is not tested yet
- The page in a browser: the plugin ran on the second XGS 3300 and the XGS 136, and its page's API was read there.
- A plain OPNsense: not installed on one yet.
- The services of other plugins, such as UPnP and SNMP.
- Rules a plugin registers itself, and OPNsense's automatic rules, are not in config.xml and are not judged.
- More, each with its reason: the README's Not yet, and why.
Repository
First release: 2026-12-02
The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.