forked from evolix/ansible-roles
fail2ban: Add local sshd jail with maxretry at 10
Default of 3 maxretry is too low!
This commit is contained in:
parent
de0a4c2ca8
commit
3ab6ecbf0e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue