Initial commit of PVC Ansible role
This commit is contained in:
11
roles/base/templates/etc/fail2ban/jail.d/sshd.local.j2
Normal file
11
roles/base/templates/etc/fail2ban/jail.d/sshd.local.j2
Normal file
@ -0,0 +1,11 @@
|
||||
[DEFAULT]
|
||||
maxretry = 3
|
||||
bantime = 14400
|
||||
ignoreip = 127.0.0.0/8 10.0.0.0/8 198.55.48.48/28
|
||||
|
||||
[ssh]
|
||||
enabled = true
|
||||
filter = sshd
|
||||
action = route
|
||||
logpath = /var/log/auth.log
|
||||
|
Reference in New Issue
Block a user