Ufw terminal frontend based on dialog
Tufw NEEDS to be installed as root, because it needs to run as root and python won't load the module if it's installed as a normal user.
sudo python3 -m pip install tufw
# OR
sudo pip3 install tufw
Obviously Tufw needs dialog
, so install it with
sudo apt install dialog
or whatever you use on your distribution.
While vermin reports minimum python version for Tufw is 3.0, it has been tested only with python 3.5.4 and 3.10. Older versions have not been tested yet.
As ufw, Tufw needs to be run as root.
sudo tufw
I know typing 'sudo
' (space included) is always tiring and easy to forget and ufw refuses to work without, so Tufw can self elevate, calling sudo itself if you forget to.
You can just type:
tufw
This project comes from my need to have a simple frontend for ufw like @costales' gufw, but character based, to install on my headless server, so the code in firewall.py
comes from costales' work, simplified a bit, but still his work.