Skip to content
项目

关于

ufw 的终端界面

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

GitHub GitHub release (latest by date) Go Report Card

Terminal UI for ufw

This go package provides a terminal user interface for ufw.

Screenshot

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

MIT

探索相关项目

加载中…