Page 1 of 1

How to relax fail2ban rules

Posted: Thu Feb 09, 2023 10:35 am
by isscbta
By default, fail2ban will block IP after third failed login within 10 minutes.

If you need less restrictive rules, in your SSH, as root, run:

mcedit /etc/fail2ban/jail.local

The following parameters should be added/changed in the appropriate sections:

Code: Select all

maxretry
findtime
It should look like this at the end: