How to unban a IP from fail2ban persistent rule list

Check the IP if is in the list:

ipset list | grep 73.34.43.111

For unban a IP blocked by fail2ban, check the fail2ban log after restart for see if your ip is under the black list:

tail -f /var/log/fail2ban

After restart you will see that your ip blocked keep on the blacklist and even if you remove it with the command

 ipset del vitalban-vitalpbx-gui 73.34.43.111 

, after restart the ban will return

fail2ban-client set vitalpbx-gui 73.34.43.111

Note that the vitalban-vitalpbx-gui is a chain in iptables and vitalpbx-gui is a jail in fail2ban.
Depending of your application for create the correct command but the sintaxe is that one.

fail2ban-client set  unbanip 
Example: fail2ban-client set sshd unbanip 

Deixe um comentário