Initial working commit
This commit is contained in:
10
ansible/roles/common/files/fail2ban/jails/sshd.local
Normal file
10
ansible/roles/common/files/fail2ban/jails/sshd.local
Normal file
@@ -0,0 +1,10 @@
|
||||
[sshd]
|
||||
enabled = true
|
||||
filter = sshd
|
||||
banaction = iptables
|
||||
backend = systemd
|
||||
maxretry = 5
|
||||
findtime = 1d
|
||||
bantime = 2w
|
||||
ignoreip = 127.0.0.1/8 192.168.1.0/24
|
||||
logpath = %(sshd_log)s
|
||||
Reference in New Issue
Block a user