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/18959

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: 5e10e686a000f8510136a0567b1f4ff6d07c89be82edd2a1e764cef250828873