Nftables
From Teknologisk videncenter
- nft --check --file workstation.heth # Syntax check nft script
- iptables-translate -A INPUT -s 89.1.1.0/24 -j DROP # Translate iptables commands into nftables (Also ip6tables-translate)
- nft list ruleset # List nft configuration
- nft list tables # List tables in nfs (Not like iptables where they are separate)
- nft list table nat # List table in nft configuration
On Ubuntu see nft configuration examples in /usr/share/doc/nftables/examples
Links
- Quick reference-nftables in 10 minutes
- mastering-linux-security - Chapter 4
- archlinux nft examples (Good)