3.4.3.1 Ensure iptables are flushed with nftables - ipv6

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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