LinuxCommandLibrary

fail2ban-client

Configure and control fail2ban server.

TLDR

Retrieve current status of the jail service

$ fail2ban-client status [jail]
copy


Remove the specified IP from the jail service's ban list
$ fail2ban-client set [jail] unbanip [ip]
copy


Verify fail2ban server is alive
$ fail2ban-client ping
copy

Copied to clipboard