Paweł Krawczyk (pawel-krawczyk) Publisher

Install latest/stable of nftables-pk

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install nftables-pk

Don't have snapd? Get set up for snaps.

Channel Version Published

nftables is the new packet classification framework that replaces iptables

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

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 Report issues

Details for nftables-pk

  • GPL-3.0+

Last updated
  • 14 October 2021


Share this snap

Generate an embeddable card to be shared on external websites.

Related blog posts

Where people are using nftables-pk

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 22.10

Install nftables-pk on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with nftables-pk? Report this app