Skip to main content

Ufw terminal frontend based on dialog

Project description

Tufw

Ufw terminal frontend based on dialog

tufw image

Installation

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.

Running

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

Give to Caesar what is Caesar's

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.

"Buy Me A Coffee"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tufw-1.1.1.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

tufw-1.1.1-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page