A command-line interface tool to simplify the management of UFW (Uncomplicated Firewall) on Linux systems. For more detailed information on UFW, please refer to the UFW documentation.
- Easy UFW installation
- Quick setup of common firewall rules
- Custom port configuration
- Simple enable/disable commands
- Status checking
To install the tool globally, run the following commands:
go install github.com/thatbeautifuldream/ufw-cli@latest
- Install UFW:
ufw-cli install
- Set up basic UFW rules:
ufw-cli setup
- Configure additional ports interactively:
ufw-cli configure
- Check the current UFW status:
ufw-cli status
Clone the repository:
git clone --depth 1 https://github.com/thatbeautifuldream/ufw-cli.git
Navigate to the project directory:
cd ufw-cli
The project includes several Make commands for building and running the application:
Command | Description |
---|---|
make build |
Builds the binary in the build directory |
make run |
Runs the application directly |
make clean |
Removes build artifacts and cleans the build directory |
make install |
Builds and installs the binary to /usr/local/bin |
make all |
Runs clean and then builds the application |
make help |
Displays all available make commands |
Contributions are welcome! Please feel free to submit a pull request.