4.2.2 Ensure nftables is not in use with ufw

Information

nftables is a subsystem of the Linux kernel providing filtering and classification of network packets/datagrams/frames and is the successor to iptables.

Running both ufw and nftables may lead to conflict.

Solution

Run the following command to remove nftables :

# apt purge nftables

- OR -

Run the following commands to stop and mask nftables.service :

# systemctl stop nftables.service
# systemctl mask nftables.service

See Also

https://workbench.cisecurity.org/benchmarks/21369

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: 00bfdf3a3785261e8fcc2b043b674e91ecba9752f34e7337cef925a3f9205bed