Results 1 to 2 of 2
Thread: fail2ban not banning
Enjoy an ad free experience by logging in. Not a member yet? Register.
fail2ban not banning
Everything seems to be configured properly but it does not ban.
I edited the jail.conf, snippet -Code:
[ssh-iptables] enabled = false filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] sendmail-whois[name=SSH, email@example.com, firstname.lastname@example.org] #logpath = /var/log/sshd.log logpath = /var/log/messages maxretry = 5Code:
fail2ban-regex /var/log/messages /etc/fail2ban/filter.d/sshd.conf
Yet it does not ban. I'm sure it has to be something simple. Can anyone help.
*sigh* I feel so stupid now. This has been buging for over a week but figured it out by looking at my own post. "enabled = false" has to be "enabled = true".