homeserver/roles/mgrote.fail2ban/templates/jail.local
mg e4e84d2218 templates: Header-Var eingefügt (#22)
python zu 3

rest

zfs

Postfix

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#22
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-07 19:40:32 +01:00

25 lines
503 B
Text

{{ file_header | default () }}
[DEFAULT]
ignorself = true
ignoreip = 127.0.0.1/8 ::1
bantime = {{ f2b_bantime }}
findtime = {{ f2b_findtime }}
maxretry = {{ f2b_maxretry }}
# Mail Reporting
destemail = {{ f2b_destemail }}
sender = {{ f2b_sender }}
# to ban & send an e-mail with whois report to the destemail.
#action = %(action_mw)s
# same as action_mw but also send relevant log lines
action = %(action_mwl)s
# JAILS
[sshd]
enabled = true
port = ssh
filter = sshd
logpath = /var/log/auth.log