38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
# Checklist rebuild — VPS BBB (1 page)
|
||
|
||
## Pré-vol (avant Ansible)
|
||
- [ ] DNS : `A` de `bbb.chezlepro.ca` pointe vers l’IPv4 du VPS
|
||
- [ ] (Optionnel) DNS : `AAAA` si IPv6 utilisée
|
||
- [ ] Accès console / 2 sessions SSH ouvertes (anti-lockout)
|
||
- [ ] Clé SSH du user `ansible` installée
|
||
- [ ] Sudo fonctionnel (au moins une fois via `--ask-become-pass`)
|
||
|
||
## Déploiement
|
||
- [ ] `make check`
|
||
- [ ] 1ère passe si nécessaire : `ansible-playbook -i inventory.ini site.yml --become --ask-become-pass`
|
||
- [ ] Déploiement standard : `make run`
|
||
|
||
## Contrôles post-déploiement (OS)
|
||
- [ ] Hostname : `hostnamectl` contient `bbb.chezlepro.ca`
|
||
- [ ] Locale : `locale` → `LANG=en_US.UTF-8`
|
||
- [ ] Swap actif : `swapon --show`
|
||
|
||
## Contrôles post-déploiement (services)
|
||
- [ ] `systemctl is-active docker`
|
||
- [ ] `systemctl is-active fail2ban`
|
||
- [ ] `systemctl is-active hostfilter-nft`
|
||
|
||
## Contrôles post-déploiement (firewall)
|
||
- [ ] Syntaxe : `sudo nft -c -f /etc/nftables/hostfilter.nft`
|
||
- [ ] Règles actives : `sudo nft list ruleset | sed -n '1,220p'`
|
||
- [ ] SSH restreint aux CIDR attendus (IPv4), IPv6 fermé si non utilisé
|
||
- [ ] Ports ouverts (attendus) :
|
||
- SSH : 22/TCP
|
||
- BBB : 80/TCP, 443/TCP, 16384–32768/UDP
|
||
- TURN : 3478/TCP+UDP, 5349/TCP, relais UDP (ex: 50000–55000/UDP)
|
||
|
||
## Smoke test (script)
|
||
- [ ] `sudo ./smoke.sh` retourne tout “OK” et n’affiche pas d’erreurs
|
||
|
||
## Prochaine étape
|
||
- [ ] Installer BBB + coturn (rôle séparé) et refaire une checklist “WebRTC/BBB”.
|