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

12 lines
197 B
Django/Jinja

[DEFAULT]
maxretry = 3
bantime = 14400
ignoreip = 127.0.0.0/8 10.0.0.0/8 198.55.48.48/28
[ssh]
enabled = true
filter = sshd
action = route
logpath = /var/log/auth.log