Nftables/Examples

On this page several example nftable configurations can be found.

Typical workstation example
The following is an example of nftables rules for a typical workstation that recreates chains and tables known from iptables.

Simple stateful router example
The following is an example of nftables configuration script for a simple stateful router.