LeoWall is a simple and interactive bash-based firewall management script for Linux servers (Ubuntu/Debian), using iptables and enhanced with optional psad (Port Scan Attack Detector) integration.
It's designed for sysadmins who want fast, secure, and visual control over TCP firewall rules, IP blocking, and basic security automation.
- π¨ Visual logo and colorful terminal interface
- π Configure firewall for selected TCP ports
- β Add or β remove allowed TCP ports interactively
- π Show current iptables rules
- π‘ View listening services on open ports
- π« Block or β unblock any IP address
- π Reset firewall (open all traffic)
- π₯ Install and activate
psadto detect port scan attacks - πΎ Persistent firewall using
iptables-persistent
- β Debian-based system (Ubuntu, Debian)
- β
bash,iptables,iptables-persistent,psad - β Root or sudo privileges
Copy and run the following command:
git clone https://github.com/leokeuo/LeoWall.git && cd LeoWall && chmod +x leowall.sh && sudo ./leowall.sh