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
Forever Free Full-Stack Observability | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fail2Ban Webinterface!