3.5.3.1.3 Ensure ufw is uninstalled or disabled with iptables

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
# systemctl stop ufw
# systemctl mask ufw

See Also

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

Item Details

Category: SECURITY ASSESSMENT AND AUTHORIZATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|CA-9, 800-53|SC-7, 800-53|SC-7(5), CSCv7|9.4

Plugin: Unix

Control ID: d6e837ebf6154ffbaf44e40635765da72c55e8e83b566df89bc8e0805579ee1a