3.5.2.3 Ensure iptables are flushed

Information

nftables is a replacement for iptables, ip6tables, ebtables and arptables

It is possible to mix iptables and nftables. However, this increases complexity and also the chance to introduce errors. For simplicity flush out all iptables rules, and ensure it is not loaded

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Run the following commands to flush iptables:

For iptables:

# iptables -F

For ip6tables

# ip6tables -F

See Also

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

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: 76c791afb5657aa2e307ad1ed14642d8b9598f8f8b9029e1023c5181ac49b267