No firewall is on
Without a firewall, every port a program opens can be reached from the internet.
sudo ufw allow OpenSSH && sudo ufw enableReferenceThe 22 checks
Security checkfirewall
Whether ufw, firewalld or an nftables or iptables rule set is on.
It needs root for part of what it reads. When ufw and firewalld are off, reading nftables or iptables rules needs root. Without root, that part is skipped and never counted as passed. Run sudo kiyesi scan to include it.
The report lists it as passed, in these words:
No firewall is on
Without a firewall, every port a program opens can be reached from the internet.
sudo ufw allow OpenSSH && sudo ufw enable