3.6.3.1.3 Ensure Uncomplicated Firewall is not installed or disabled

Information

Uncomplicated Firewall (UFW) is a program for managing a netfilter firewall designed to be easy to use.

Uses a command-line interface consisting of a small number of simple commands

Uses iptables for configuration

Rationale:

Running iptables.persistent with ufw enabled may lead to conflict and unexpected results.

Solution

Run one of the following commands to either remove ufw or stop and mask ufw
Run the following command to remove ufw:

# apt purge ufw

OR
Run the following commands to disable ufw:

# ufw disable

See Also

https://workbench.cisecurity.org/files/2920

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(12), CSCv7|9.4

Plugin: Unix

Control ID: a8b3206b51911bbebdc78279667d75a0e36e19582c417ea3c0db9735062ae9d8