0
0
vps-set-up-playbook/roles/fail2ban/templates/jail.local.j2

12 lines
269 B
Plaintext
Raw Normal View History

2023-11-11 02:06:42 +08:00
[DEFAULT]
# Disable backend = auto as a Debian workaround
# https://github.com/fail2ban/fail2ban/issues/3292
backend = systemd
logtarget = SYSTEMD-JOURNAL
[sshd]
#mode = normal
port = {{ ssh_port }}
logpath = %(sshd_log)s
backend = %(sshd_backend)s
enable = true