tufw
Terminal user interface for managing ufw firewall rules with add, edit, and remove functionality
tufw is a terminal user interface for Ubuntu's Uncomplicated Firewall (ufw) that provides an interactive alternative to command-line firewall management. The tool presents a graphical interface within the terminal for adding, editing, and removing firewall rules without requiring knowledge of ufw's command syntax.
Built with Go and the tview library, tufw offers a menu-driven approach to firewall configuration that simplifies rule management for users unfamiliar with ufw commands. The interface displays current rules and provides forms for creating new ones, making firewall administration more accessible through visual interaction rather than memorizing CLI parameters.
The tool requires root privileges to function since it needs to interact with the system's firewall configuration. It's particularly useful for system administrators or users who need to manage firewall rules occasionally but don't want to reference ufw documentation each time.
Installation
# via APT
sudo apt install tufw_0.1.0_linux_amd64.deb
# via AUR
yaourt -S tufw-git

Alternatives & related tools
kure
Command-line password manager with AES-GCM encryption and offline operation
ssm
Terminal UI for managing and connecting to SSH hosts with vim-style navigation and tagging
stern
Kubernetes log tailing tool that aggregates logs from multiple pods and containers with regex filtering and color coding
viddy
Enhanced watch command replacement with time machine mode, diff highlighting, and vim-like navigation
Kopia
Cross-platform backup tool that creates encrypted, compressed, deduplicated snapshots and stores them on cloud, network, or local storage. Includes CLI and GUI.
add a badge to your README
Maintain tufw? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/tufw?utm_source=badge)<a href="https://www.trmn.sh/tools/tufw?utm_source=badge"><img src="https://www.trmn.sh/badge/tufw.svg" alt="Featured on trmn" height="20"></a>