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.2.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

tufw-1.1.2-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file tufw-1.1.2.tar.gz.

File metadata

  • Download URL: tufw-1.1.2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for tufw-1.1.2.tar.gz
Algorithm Hash digest
SHA256 9e6fcbc3def9a439937092767ac333dfb5164aa0d92c56e145c66e5cbfae0c75
MD5 3ffd86f6069a1e234c72e3ba49e0b7a4
BLAKE2b-256 f5be977b9aa5be25b5fea35831386613b98b0f0ca9dd1453a4a8b3c04f00400d

See more details on using hashes here.

File details

Details for the file tufw-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: tufw-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for tufw-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ce974d1587ef27d54d06f2ccd49e4c55373dfb62ad2b72c4fcd8f5b55d4495
MD5 3e256971a54d82b8a68fe5bbc25b85f1
BLAKE2b-256 114a01aeee8495285d8ea572eb66928ceaf7f4dbc7c506440392ec3adf8cfe99

See more details on using hashes here.

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