fail2ban-client

Configure and control fail2ban server. More information: <https://github.com/fail2ban/fail2ban>.

Install

All systems
curl cmd.cat/fail2ban-client.sh
Debian Debian
apt-get install fail2ban
Ubuntu
apt-get install fail2ban
Alpine
apk add fail2ban
Arch Arch Linux
pacman -S fail2ban
image/svg+xml Kali Linux
apt-get install fail2ban
Fedora
dnf install fail2ban-server
Windows (WSL2)
sudo apt-get update sudo apt-get install fail2ban
OS X
brew install fail2ban
Raspbian
apt-get install fail2ban
Docker
docker run cmd.cat/fail2ban-client fail2ban-client powered by Commando

Configure and control fail2ban server. More information: <https://github.com/fail2ban/fail2ban>.

  • Retrieve current status of the jail service:
    fail2ban-client status jail
  • Remove the specified IP from the jail service's ban list:
    fail2ban-client set jail unbanip ip
  • Verify fail2ban server is alive:
    fail2ban-client ping

© tl;dr; authors and contributors