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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fail2Ban Webinterface!