Files
reverse-proxy/docs/security/checklist.md
T

39 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Чеклист
## UFW на HAProxy (текущий этап)
- [ ] `ufw status verbose` — active
- [ ] **22/tcp** — только `5.100.81.121`, `192.168.128.0/17`
- [ ] **8404/tcp** — только тот же список (если stats включён)
- [ ] **80/tcp**, **443/tcp**`Anywhere`
- [ ] **25/tcp** — нет правила allow (default deny)
- [ ] SSH с admin-IP — OK; с чужого IP — refused
- [ ] Сервисы через HAProxy (git, zabbix, rds, …) — OK
- [ ] `haproxy -c -f /etc/haproxy/haproxy.cfg` — OK
- [ ] `/etc/haproxy/security/haproxy-ufw.env` — backup
## MikroTik
- [ ] DNAT **80/443**`192.168.160.117`
- [ ] DNAT **25**`192.168.160.57` (не на HAProxy)
- [ ] Нет DNAT 3389, 5001, 4430 на внутренние IP
## После UFW (опционально, не блокер)
- [ ] fail2ban sshd
- [ ] fail2ban haproxy-reject + haproxy-zabbix-403 (`scripts/security/fail2ban-install.sh`)
- [ ] `unattended-upgrades`
---
## Позже — бэкенды
- [ ] UFW: сервисный порт только с `.117`
- [ ] KSMG: UFW под прямой **25** с интернета
## Регулярно
- [ ] `apt upgrade` на HAProxy
- [ ] Актуальность allowlist / `rds-allowed`
- [ ] `ufw status`, auth.log