Fail2ban: unblock an ip

Bschelst/ August 7, 2017/ Linux/ 0 comments

Find IP Address to Unblock

Log in to your server via SSH and type in the following command:

iptables -L -n

Look for the IP address you want to unblock / unban.

Now we must find the jail name this IP address is in. To do so, type the following:

fail2ban-client status

unban the IP:

fail2ban-client set ssh unbanip 192.168.1.1
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*