---
title: Install nftables-pk on Linux | Snap Store
description: Get the latest version of nftables-pk for Linux - nftables is the new
  packet classification framework that replaces iptables
url: https://snapcraft.io/nftables-pk
---

# nftables-pk

[Paweł Krawczyk (pawel-krawczyk)](https://snapcraft.io/publisher/pawel-krawczyk "View all snaps from Paweł Krawczyk (pawel-krawczyk)")

* [Paweł Krawczyk (pawel-krawczyk)](https://snapcraft.io/publisher/pawel-krawczyk "View all snaps from Paweł Krawczyk (pawel-krawczyk)")
* [Security](https://snapcraft.io/search?categories=security)
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

latest/stable v1.0.0

Install latest/stable of nftables-pk

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install nftables-pk
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* nftables-pk

---

### License

* GPL-3.0+

---

### Last updated

* 14 October 2021 - latest/stable
* 14 October 2021 - latest/beta

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [git.sr.ht](https://git.sr.ht/~kravietz/snap-nftables "https://git.sr.ht/~kravietz/snap-nftables")

---

### Contact

* [todo.sr.ht](https://todo.sr.ht/~kravietz/snap-nftables "https://todo.sr.ht/~kravietz/snap-nftables")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/nftables-pk#report-snap-modal)

---

* [Description](https://snapcraft.io/nftables-pk#tab-description)
* [Security](https://snapcraft.io/nftables-pk#tab-security)

#### 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 <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>

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/nftables-pk/arch)

[### CentOS](https://snapcraft.io/install/nftables-pk/centos)

[### Debian](https://snapcraft.io/install/nftables-pk/debian)

[### elementary OS](https://snapcraft.io/install/nftables-pk/elementary)

[### Fedora](https://snapcraft.io/install/nftables-pk/fedora)

[### KDE Neon](https://snapcraft.io/install/nftables-pk/kde-neon)

[### Kubuntu](https://snapcraft.io/install/nftables-pk/kubuntu)

[### Manjaro](https://snapcraft.io/install/nftables-pk/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/nftables-pk/pop)

[### openSUSE](https://snapcraft.io/install/nftables-pk/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/nftables-pk/rhel)

[### Ubuntu](https://snapcraft.io/install/nftables-pk/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/nftables-pk/raspbian)
