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
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fail2Ban Webinterface!