This is a simple Webinterface to ban or unban IPs with Fail2Ban. Written in PHP. Uses fail2ban-client operations on the local socket.
Questions? Contact me: steffen[at]simails.de
Update for Debian 13 Trixie and others running systemd:
To get the socket-permission fix working, do this:
1. systemctl edit fail2ban
[Service]
ExecStartPost=/bin/sh -c 'while [ ! -S /var/run/fail2ban/fail2ban.sock ]; do sleep 0.2; done; chmod 0766 /var/run/fail2ban/fail2ban.sock'
-> strg+o, strg+x
2. systemctl daemon-reload
3. systemctl restart fail2ban
4. ls -l /var/run/fail2ban/fail2ban.sock
Features
- fail2ban-client operations
- list jails
- list banned clients per jail
- unban clients
- ban clients manually
License
Creative Commons Attribution ShareAlike License V3.0Follow Fail2Ban Webinterface
Other Useful Business Software
Go from Code to Production URL in Seconds
Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fail2Ban Webinterface!