build(etc): 添加 Fail2ban SSH 防爆破配置

This commit is contained in:
cnphpbb
2026-11-08 22:36:02 +08:00
parent ae15444764
commit db3749375c
2 changed files with 18 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
[sshd]
enabled = true
maxretry = 3
findtime = 10m
bantime = 1h
bantime.increment = true
bantime.factor = 2
bantime.maxtime = 1w