Nftables from distributions
Jump to navigation
Jump to search
Most major Linux distributions have support for nftables:
- they include a kernel with nf_tables support
- they include userspace support
Normally, you can get nftables working just by installing the software using the corresponding package manager.
Be aware that distributions commonly don't use the absolute last version of nftables or the linux kernel. If you need latest version of the framework, you may need Building and installing nftables from sources.
For reference, here are some links where you can get distribution-specific info about nftables.
debian
Debian includes latests nftables also in 'stable-backports', so you don't need to run 'testing' to get nftables.
- wiki page: https://wiki.debian.org/nftables
- kernel package: https://tracker.debian.org/pkg/linux
- libnftnl: https://tracker.debian.org/pkg/libnftnl
- nft utility: https://tracker.debian.org/pkg/nftables
By the way, nf_tables is the default iptables backend starting with Debian Buster.
arch linux
- wiki page: https://wiki.archlinux.org/index.php/Nftables
- kernel package: https://www.archlinux.org/packages/core/x86_64/linux/
- nft utility: https://www.archlinux.org/packages/extra/x86_64/nftables/
- libnftnl: https://www.archlinux.org/packages/extra/x86_64/libnftnl/
ubuntu
- kernel package: https://launchpad.net/ubuntu/+source/linux
- nft utility: https://launchpad.net/ubuntu/+source/nftables
- libnftnl: https://launchpad.net/ubuntu/+source/libnftnl
fedora
- kernel package: https://src.fedoraproject.org/rpms/kernel
- nft utlity: https://src.fedoraproject.org/rpms/nftables
- libnftnl: https://src.fedoraproject.org/rpms/libnftnl