init
This commit is contained in:
18
ansible/roles/harden/fail2ban/templates/jail.local.j2
Normal file
18
ansible/roles/harden/fail2ban/templates/jail.local.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
[DEFAULT]
|
||||
ignoreip = 127.0.0.1/8 ::1
|
||||
|
||||
findtime = 600
|
||||
maxretry = 5
|
||||
bantime = 1h
|
||||
|
||||
backend = systemd
|
||||
banaction = nftables[type=multiport]
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = 25105
|
||||
filter = sshd
|
||||
maxretry = 5
|
||||
findtime = 600
|
||||
bantime = 1h
|
||||
mode = aggressive
|
||||
Reference in New Issue
Block a user