HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fail2ban-client — Configure and control fail2ban server. More information: <https://manned.org/fail2ban-client>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servercommandandfail2ban-clientconfigureclifail2bancontrol
linux

Problem

How to use the fail2ban-client command: Configure and control fail2ban server. More information: <https://manned.org/fail2ban-client>.

Solution

fail2ban-client — Configure and control fail2ban server. More information: <https://manned.org/fail2ban-client>.

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_address}}


Verify fail2ban server is alive:
fail2ban-client ping

Code Snippets

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_address}}

Verify fail2ban server is alive

fail2ban-client ping

Context

tldr-pages: linux/fail2ban-client

Revisions (0)

No revisions yet.