nftables
You should consider using a wrapper instead of writing your own firewalling scripts. It is recommended to run
firewalld, which integrates pretty well into the system.
Setup
Show state of nftables.service:
systemctl status nftables.service
Usage
List all tables:
nft list tables
List complete ruleset:
nft list ruleset
List rules in chain:
nft list table inet filter
Flush all rules in table:
nft flush table ip filter
Migration
Kubernetes
Still no support for nftables, blocking OAS to use nftables:
- 
from the Calico 3.8.2 release notes:
calico can run on systems which use iptables in nft compatibility mode …
OAS / rancher / k8s 14.3 use calico 3.4
 
Ansible
Collections:
- imp1sh/ansible_nftwallcollection
- Github
 - Last commit 2021-10, last release 2021-03
 
 
(Deprecated) roles: