Ensure fail2ban and logrotate are available on all machines
This commit is contained in:
7
ansible/roles/base/files/ssh-jail.conf
Normal file
7
ansible/roles/base/files/ssh-jail.conf
Normal file
@ -0,0 +1,7 @@
|
||||
[sshd]
|
||||
enabled = true
|
||||
bantime = 600
|
||||
findtime = 30
|
||||
maxretry = 5
|
||||
port = {{ ssh_port }},ssh
|
||||
ignoreip = {{ wireguard.cidr }}
|
Reference in New Issue
Block a user