fail2ban – how to unblock IP address

Clean SystemFail2ban



To see what IPs are blocked type the following:

iptables –L –n 

This will output the iptables list and at the bottom you will see the Chain fail2ban-SSH

Chain fail2ban-SSH (1 references)
target prot opt source destination
RETURN all —

To remove the customer’s IP from the block list type the following:

iptables -D fail2ban-SSH -s IP -j DROP

Switch the IP with the customer’s public IP address.