Help my fail2ban is not working?

Asked By 20 points N/A Posted on -

Why is my fail2ban not working on my server? I tried to using fail2ban on my server to prevent brute force attack, but getting fail2ban working is a serious challenge. I tried log in multiple time in a row and my IP address was not blacklisted. Fail2ban is running fine but it is not blocking IP. What could be the cause of this problem?

Answered By 0 points N/A #192458

Help my fail2ban is not working?


   Hi Patricia!

   Common issue with this trouble (on Debian boxes) is something related to tzdata and wrong time. If the regexp works the only things that can prevent Fail2ban from triggering is something messed up with date / time. Try to install NTP and keep your date in sync. Run service rsyslog restart and it should fix the problem.


Mathew Tand

Login/Register to Answer

Related Questions