proxmox: bake xrdp into the Kali template

KALI_XRDP=1 installs xrdp while the template is still a VM, so every clone
and every kali reset keeps it. The lab has no Internet, so the host runs a
temporary squid bound to 10.10.10.1 and restricted to the probe address
(10.10.10.249); it is stopped and disabled afterwards. A ~/.xsession is
written for kali so the xfce session starts under xrdp.

Docs cover exposing one RDP port per seat with socat (3381..3385).
This commit is contained in:
2026-10-26 19:40:57 -04:00
parent e08731bf37
commit 6bb7758709
4 changed files with 114 additions and 0 deletions
+3
View File
@@ -141,6 +141,9 @@ Les Kali n'ont **pas** Internet : c'est volontaire, le pont n'a aucun port vers
Tout ce que demande l'atelier est déjà dans l'image, et la liste de mots arrive par l'ISO
d'outils.
`KALI_XRDP=1` (par défaut) installe `xrdp` dans le gabarit pour ceux qui veulent un bureau
graphique via un client RDP ; voir `docs/instructeur.md` pour exposer les ports.
## Participants
Chaque personne reçoit un compte Proxmox limité à sa propre VM :