3.4.3.2 Ensure an nftables table exists

Information

Tables hold chains. Each table only has one address family and only applies to packets of this family. Tables can have one of five families.

Rationale:

nftables doesn't have any default tables. Without a table being build, nftables will not filter network traffic.

Impact:

Adding rules to a running nftables can cause loss of connectivity to the system

Solution

Run the following command to create a table in nftables

# nft create table inet <table name>

Example:

# nft create table inet filter

See Also

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