Skip to content

4.2.1 Ensure ufw is installed

Audit#

Run the following command to verify that Uncomplicated Firewall (UFW) is installed:

# dpkg-query -s ufw &>/dev/null && echo "ufw is installed"
ufw is installed

Remediation#

Run the following command to install Uncomplicated Firewall (UFW):

# apt install ufw