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
Share this Post

Leave a Comment

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>