Python firewall framework.
pip3 install pywall
from pywall import pywall
# pywall(iface="wlan0")
safe = pywall(iface="wlan0").control()
pywall
usage: pywall [-h] [-i IFACE] [-t TIMEOUT]
optional arguments:
-h, --help show this help message and exit
-i IFACE, --iface IFACE
Interface
-t TIMEOUT, --timeout TIMEOUT
Timeout