fail2ban: Add local sshd jail with maxretry at 10

Default of 3 maxretry is too low!
This commit is contained in:
Benoît S. 2019-03-14 17:27:48 +01:00
parent de0a4c2ca8
commit 3ab6ecbf0e

View file

@ -27,6 +27,12 @@ action_mwl = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(proto
action = %(action_mwl)s
[sshd]
port = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s
maxretry = 10
{% if fail2ban_wordpress %}
[wordpress-hard]
enabled = true