mediumnetworkverified ✓rollback-safe
Ensure the UFW application firewall is installed
ufw-installed · UBUNTU ≥ 22 · 1 impl
Description
The ufw (Uncomplicated Firewall) package provides the host application firewall used to control network access on Ubuntu systems.
Rationale
A host firewall restricts inbound and outbound network connections to those explicitly permitted, reducing the attack surface. Without ufw installed, host-level network filtering cannot be configured.
Check → Remediate
Checkpackage_state
- name:
- ufw
- state:
- present
Remediateapt_present
- name:
- ufw
Framework references
STIG
V-270654 / UBTU-24-100300V-260514 / UBTU-22-251010
NIST 800-53
AC-17(1)CM-7
Live verification
ubuntu22:checkubuntu24:check
#ufw#firewall#network#packages