ansible/roles/basesecurity/templates/fail2ban/jail.d/local.conf.j2
2019-03-23 13:00:18 +01:00

12 lines
206 B
Django/Jinja

# {{ ansible_managed }}
# Ban a host for 10mn
# if it has failed 5 times during the last 10mn
[sshd]
enabled = true
bantime = 600
findtime = 600
maxretry = 5
# Whitelist bastion
ignoreip = 10.128.0.254