3.5.2.3 Ensure iptables are flushed with nftables - v6

Information

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

Rationale:

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

Solution

Run the following commands to flush iptables:
For iptables:

# iptables -F

For ip6tables:

# ip6tables -F

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(12), CSCv7|9.4

Plugin: Unix

Control ID: c39e1138e86d45d76d0f041de393af71604dce74be3fa4da84bc5750c7209fdc