Provides the latest version of nft command-line utility with the intention of replacing outdated and buggy packages provided by mainline Linux distributions. For documentation on how to use nftables see https://wiki.nftables.org/
You may want to create a system-wide alias:
snap alias nftables-pk.nft nft
Quick example (simple packet counter, not hooked to real traffic):
nft add table inet main
nft add chain inet main input
nft add rule inet main input counter accept
nft list ruleset
If you use snapd older than 2.41 you will need the following after installation:
snap connect nftables-pk:network-control
Remember to update your nftables scripts to point to /snap/bin/nft and move your scripts from /etc/nftables to /var/snap/nftables-pk/common.
Since this snap is fully confined, configuration files must be placed in /var/snap/nftables-pk/common.
More documentation can be found at https://git.sr.ht/~kravietz/snap-nftables Report issues https://todo.sr.ht/~kravietz/snap-nftables
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
On Debian 9 (Stretch) and newer, snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
To install nftables-pk, simply use the following command:
sudo snap install nftables-pk
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.