Modern, secure, and aesthetic network security management for Linux via Docker.
UFW-GUI is a powerful web interface for managing the UFW system firewall and Fail2Ban. The project is designed for those who value visual control and convenience without compromising on security.
The easiest way to run UFW-GUI is using docker-compose.yml:
Clone the repository:
git clone https://github.com/weby-homelab/ufw-gui.git
cd ufw-gui
Configure Environment:
Create a .env file based on backend/.env.example and set UFW_GUI_SECRET_KEY.
Start Containers:
services: ufw-gui: image: webyhomelab/ufw-gui:latest container_name: ufw-gui network_mode: host privileged: true environment: - TZ=Europe/Kyiv - UFW_GUI_SECRET_KEY=change_me_to_a_secure_random_string_123 volumes: - ./data:/app/data - /etc/ufw:/etc/ufw - /var/run/fail2ban/fail2ban.sock:/var/run/fail2ban/fail2ban.sock - /var/log:/var/log:ro - /etc/localtime:/etc/localtime:ro restart: always
```bash
docker compose up -d
The dashboard will be available on port 8080 (or as configured in your Reverse Proxy).
docker, docker-compose, ufw, fail2ban.root privileges (privileged mode) for the backend container.
Built in Ukraine under air raid sirens & blackouts ⚡
© 2026 Weby Homelab
Content type
Image
Digest
sha256:34c81bcee…
Size
78.7 MB
Last updated
3 months ago
docker pull webyhomelab/ufw-gui