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

12 lines
235 B
Plaintext
Raw Normal View History

2023-09-01 15:42:19 -04:00
[DEFAULT]
maxretry = 3
bantime = 14400
2023-09-01 15:42:25 -04:00
ignoreip = 127.0.0.0/8 {% for ignore in fail2ban_ignorelist %}{{ ignore }} {% endfor %}
2023-09-01 15:42:19 -04:00
[ssh]
enabled = true
filter = sshd
action = route
logpath = /var/log/auth.log