How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

July 21, 2015

Manually unban ip blocked by fail2ban

Filed under: Linux — Tags: , , , , — admin @ 9:46 am

Well if you have an ip banned then you should deleted as this

iptables -L --line-numbers

And then run this where chain-name you should replace it with what name you have there for example fail2ban-ssh
iptables -D chain-name 2

 

Short update on this

You can run also

fail2ban-client status

and after this

With Fail2Ban before v0.8.8:

fail2ban-client get YOURJAILNAMEHERE actionunban IPADDRESSHERE

With Fail2Ban v0.8.8 and later:

fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress