peltho/tufw
About
Terminal UI for ufw
Developer ToolsMeasured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +4
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalTerminal UI for ufw
This go package provides a terminal user interface for ufw.

It allows you to add, edit or remove rules in a fancy way which is ideal when you're not familiar with ufw command.
Be sure to run it as root otherwise it won't work.
Usage
sudo tufw [-color cyan|red|green|blue] [-log tufw.log]
| Key | Action |
|---|---|
↑/↓, j/k, g/G |
Move through the rules |
a |
Add a rule |
e / enter |
Edit the selected rule |
d |
Delete the selected rule |
/ |
Filter rules (regex), esc clears the filter |
r |
Reload rules |
s |
Disable ufw |
R |
Reset all rules |
q |
Quit |
Rules are read from ufw's own rule files (user.rules / user6.rules). Before deleting or editing a rule by its number, tufw checks that its numbering still matches ufw status numbered.
Installation
Just head over the releases page and install it manually with your favorite package manager.
For instance: sudo apt install tufw_0.1.0_linux_amd64.deb
You can also find this package on AUR for archlinux users: yaourt -S tufw-bin
Dependencies
This package is based on Bubble Tea, Huh and Lip Gloss. Building from source requires Go 1.26+.
Troubleshooting
Add your issue here on Github if you spot an unwanted behavior. Feel free to get in touch if you have any questions.
Licence
Explore related projects
Loading…