=== View Current Jails ===
What current jails are there?
# fail2ban-client status
Status
|- Number of jail: 1
`- Jail list: wp-login, xmlrpc
\\
=== Viewing Jail Information ===
Viewing the status of that jail such as: total banned, blocked IPs, number of failed attempts
# fail2ban-client status xmlrpc
Status for the jail: xmlrpc
|- Filter
| |- Currently failed: 1
| |- Total failed: 21
| `- File list: /var/log/nginx/access.log
`- Actions
|- Currently banned: 3
|- Total banned: 3
`- Banned IP list: x.x.x.x x.x.x.x x.x.x.x
\\
\\
=== Ignore IP ===
# fail2ban-client ssh-iptables set addignoreip x.x.x.x
These IP addresses/networks are ignored:
|- 127.0.0.1/8
`- 7x.x.x.x
Getting the IPs
# fail2ban-client get ssh-iptables ignoreip
\\
\\
=== Unban IP ===
Fail2Ban < v0.8.8:
\\
fail2ban-client get JAILNAME actionunban x.x.x.x
\\
Fail2Ban > v0.8.8:
fail2ban-client set JAILNAME unbanip x.x.x.x