feat(security): fail2ban sshd.local с ignoreip admin и banaction ufw.

This commit is contained in:
PTah
2026-06-15 15:06:53 +10:00
parent fc12d35f23
commit a7de0d0555
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -104,6 +104,8 @@ sudo fail2ban-client status haproxy-reject
Порог: **15** reject за **10 мин** → бан **24 ч** через UFW. `ignoreip`: LAN, VPN, admin.
**sshd:** `jail.d/sshd.local``banaction = ufw`, те же `ignoreip` (не банить admin/VPN/LAN).
После `systemctl restart fail2ban` подождите 1–2 с перед `fail2ban-client status` (сокет).
### SSH (пример)