STIGUI
V-260516CAT II — Medium severitySV-260516r1184061_rule

Ubuntu 22.04 LTS must have an application firewall enabled.

Rule version UBTU-22-251020 · STIG v2 · 2026-09-09

Discussion

Firewalls protect computers from network attacks by blocking or limiting access to open network ports. Application firewalls limit which applications are allowed to communicate over the network.

Check

Verify the ufw is enabled on the system with the following command:

    $ sudo ufw status
    Status: active

If the above command returns the status as "inactive" or any type of error, this is a finding.

If the ufw is not installed, ask the system administrator if another application firewall is installed. If a different firewall is active on the system, this is not a finding.

Fix

Enable the ufw by using the following command:

    $ sudo ufw enable

Note: Enabling the firewall will potentially disrupt ssh sessions.

Identifiers

Group ID
V-260516
Group title
SRG-OS-000480-GPOS-00232
Rule ID
SV-260516r1184061_rule
Check ID
C-64245r1184059_chk
Fix ID
F-64153r1184060_fix