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>
13 lines
394 B
Django/Jinja
13 lines
394 B
Django/Jinja
# Géré par Ansible — ne pas modifier manuellement
|
|
[Interface]
|
|
Address = {{ wireguard_server_ip }}/{{ wireguard_subnet.split('/')[1] }}
|
|
ListenPort = {{ wireguard_port }}
|
|
PrivateKey = {{ vault_wireguard_server_private_key }}
|
|
|
|
{% for peer in wireguard_peers %}
|
|
# {{ peer.name }} — accès {{ peer.access }}
|
|
[Peer]
|
|
PublicKey = {{ peer.public_key }}
|
|
AllowedIPs = {{ peer.ip }}/32
|
|
|
|
{% endfor %}
|