Adding ansible section
This commit is contained in:
12
ansible/roles/bastion/templates/sshd.conf.j2
Normal file
12
ansible/roles/bastion/templates/sshd.conf.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[DEFAULT]
|
||||
ignoreip = {{ fail2ban_ignore_ips }}
|
||||
findtime = 3600
|
||||
bantime = 86400
|
||||
maxretry = 3
|
||||
banaction = nftables-multiport
|
||||
banaction_allports = nftables-allports
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
Reference in New Issue
Block a user