Skip to content

Security checks: Operating system

Operating system settings the web user can see.

From V8.3.0, these checks run in php artisan rconfig:security-check and in Security Center. Run only this group with:

Terminal window
cd /var/www/html/rconfig
php artisan rconfig:security-check --only=os

A failing check shows the fix for your server, with its real paths, on the page and in the command output. The fixes below use the default install folder, /var/www/html/rconfig.

Check Severity Checks that
os.firewall High A host firewall is active

Check ID: os.firewall · Severity: High

Why it matters: A host firewall limits the server to HTTPS and SSH, so a database or Redis misconfiguration is not reachable from the network.

How to fix: RHEL family: sudo systemctl enable --now firewalld && sudo firewall-cmd --permanent --add-service=https --add-service=ssh && sudo firewall-cmd --reload. Ubuntu: sudo ufw allow OpenSSH && sudo ufw allow 443/tcp && sudo ufw enable.

References: CIS RHEL 9 3.4, CIS Ubuntu 24.04 4.1, NIST SC-7, NIS2 21(2)(i)


See Security hardening for the server settings behind these checks.