mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 05:34:43 +02:00
- rôle wireguard : serveur wg0 (10.99.0.0/24) sur storage-01, profils clients générés dans /etc/wireguard/clients/ (fichier .conf / QR code) - gateway : filtrage nftables par pair — full (tout le lab) / portal (uniquement Traefik :80 = portail Guacamole), masquerade VPN→cluster - dnsmasq : bind-dynamic + écoute wg0 → *.lab.local résolu dans le tunnel - pairs initiaux : alkatrazz (full), invite-01 (portal) - vault : clés WireGuard + reprise de l'archive Authentik (remplace #78) - doc : admin/infra/wireguard.md (onboarding pair, pièges, exploitation) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
11 lines
381 B
Django/Jinja
11 lines
381 B
Django/Jinja
# Profil WireGuard « {{ item.name }} » — accès {{ item.access }} au lab Funk
|
|
[Interface]
|
|
PrivateKey = {{ vault_wireguard_peer_private_keys[item.name] }}
|
|
Address = {{ item.ip }}/32
|
|
DNS = {{ wireguard_client_dns }}
|
|
|
|
[Peer]
|
|
PublicKey = {{ wireguard_server_public_key }}
|
|
Endpoint = {{ wireguard_endpoint }}
|
|
AllowedIPs = {{ wireguard_client_allowed_ips }}
|
|
PersistentKeepalive = 25
|