vn-ansible/roles/debian-base/templates/jail.local

21 lines
439 B
Plaintext
Raw Normal View History

2024-09-23 12:30:38 +00:00
# Do not edit this file! Ansible will overwrite it.
[DEFAULT]
ignoreip = {{ fail2ban.ignore }}
bantime = {{ fail2ban.bantime }}
findtime = {{ fail2ban.bantime }}
maxretry = {{ fail2ban.maxretry }}
destemail = {{ fail2ban.email }}
2024-09-24 08:37:09 +00:00
sender = root@{{ ansible_fqdn }}
2024-09-23 12:30:38 +00:00
banaction = nftables-multiport
action = %(action_)s
#+++++++++++++++ Jails
[sshd]
enabled = true
port = 0:65535
filter = sshd
logpath = %(sshd_log)s