4.4.1.2 Ensure nftables is not in use with iptables

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 iptables 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/18960

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: 5524fd235e4ec970c9c0774a684a9f766bf3d7255da8bf0bf3cc3d2545c9579a