Binary package “python3-netfilter” in ubuntu oracular

Python module for manipulating netfilter rules

 This Python module acts as a wrapper around iptables to manipulate
 the Linux kernel's packet filtering tables.
 .
 Typical applications include building firewalls or network access
 controllers.