Skip to content

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.

Packages that still depend on iptables

  • podman
  • tailscale

Usage

List all tables:

nft list tables

List rules in chain:

nft list table ip filter

Flush all rules in table:

nft flush table ip filter

Migration

Kubernetes

Still no support for nftables, blocking OAS to use nftables:

Ansible

Collections:

(Deprecated) roles: