pvc-ansible/roles/base/templates/etc/fail2ban/jail.d/sshd.local.j2

12 lines
235 B
Plaintext
Raw Normal View History

2019-06-09 00:11:06 -04:00
[DEFAULT]
maxretry = 3
bantime = 14400
2021-04-13 16:44:49 -04:00
ignoreip = 127.0.0.0/8 {% for ignore in fail2ban_ignorelist %}{{ ignore }} {% endfor %}
2019-06-09 00:11:06 -04:00
[ssh]
enabled = true
filter = sshd
action = route
logpath = /var/log/auth.log