Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2019-12-16 06:05:50
Size: 209
Editor: fuzzy
Comment:
Revision 4 as of 2022-07-11 02:04:27
Size: 427
Editor: cpe-124-191-134-122
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
(pre 8.8)
fail2ban-client get ssh actionunban 10.xx.15x.12x
(post 8.8)
fail2ban-client set ssh unbanip 10.xx.15x.12x
Line 11: Line 7:
where ssh is the jail name  * (pre 8.8) fail2ban-client get ssh actionunban 10.xx.15x.12x <<BR>>(post 8.8) fail2ban-client set ssh unbanip 10.xx.15x.12x

where ssh is the jail name and 10.xx.15x.12x is the ip that has been banned.

the find the jail name just run

fail2ban-client status.

it should give a list of jail name.

fail2ban log2 to general meassages in /var/log/messages

to list blocked IP's

iptables -L

To unblock an ip:

  • (pre 8.8) fail2ban-client get ssh actionunban 10.xx.15x.12x
    (post 8.8) fail2ban-client set ssh unbanip 10.xx.15x.12x

where ssh is the jail name and 10.xx.15x.12x is the ip that has been banned.

the find the jail name just run

fail2ban-client status.

it should give a list of jail name.

fail2ban log2 to general meassages in /var/log/messages

Diagnosing_issues_with_fail2ban (last edited 2022-07-11 02:04:27 by cpe-124-191-134-122)