Skip to content

The Ubuntu operating system must have an application firewall enabled.

An XCCDF Rule

Description

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.

ID
SV-238374r991593_rule
Version
UBTU-20-010454
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Enable the Uncomplicated Firewall by using the following command: 
 
$ sudo systemctl enable ufw.service  
 
If the Uncomplicated Firewall is not currently running on the system, start it with the following command: 
 
$ sudo systemctl start ufw.service