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:
Usage¶
List all tables:
List complete ruleset:
List rules in chain:
Flush all rules in table:
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: