Ajouter 'fail2ban/jail.d/defaults-debian.conf'

This commit is contained in:
Dryusdan 2018-10-09 22:49:46 +02:00
parent 71ac38e1b9
commit 7528557b5a
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
[DEFAULT]
ignoreip = 127.0.0.1/8 138.201.173.72 159.69.34.42 195.201.35.125 5.9.101.98
bantime = 3600
findtime = 900
destemail = admin@dryusdan.fr
sender = fail2ban@dryusdan.fr
action = %(action_mwl)s
[sshd]
enabled = true
bantime = 86400
maxretry = 2
[nginx-http-auth]
enabled = true
[nginx-botsearch]
enabled = true
bantime = 43200
maxtry = 10
logpath = %(nginx_access_log)s