aboutsummaryrefslogtreecommitdiff
path: root/files/fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'files/fail2ban')
-rw-r--r--files/fail2ban/jail.d/sshd.local9
1 files changed, 9 insertions, 0 deletions
diff --git a/files/fail2ban/jail.d/sshd.local b/files/fail2ban/jail.d/sshd.local
new file mode 100644
index 0000000..534b62e
--- /dev/null
+++ b/files/fail2ban/jail.d/sshd.local
@@ -0,0 +1,9 @@
+[sshd]
+enabled = true
+mode = aggressive
+port = ssh
+backend = systemd
+action = iptables-allports[name=sshd, protocol=all]
+bantime = 24h
+maxretry = 3
+findtime = 600