3.4.3.1 Ensure iptables are flushed - v4

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

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

Plugin: Unix

Control ID: e220395cbd8827a64bff29e17278d383057bc825297059026d5c2a98b08486b7