Files
sh/arch/fail2ban.conf
2026-05-22 15:21:21 +08:00

11 lines
176 B
Plaintext

[sshd]
enabled = true
port = ssh
filter = sshd
backend = systemd
logpath = journal
maxretry = 3
bantime = 1d
findtime = 10m
action = iptables[name=SSH, port=ssh, protocol=tcp]