VPN WireGuard¶
Accès VPN admin déployé sur LXC 103.
Configuration Serveur¶
- Endpoint : ncls.ltd:51820
- Subnet interne : 10.13.13.0/24
- Server IP : 10.13.13.1
- DNS : 192.168.1.1 (Freebox)
- AllowedIPs clients : 0.0.0.0/0 (full tunnel)
Peers configurés¶
| Peer | IP interne |
|---|---|
adminlaptop |
10.13.13.2 |
adminphone |
10.13.13.3 |
admintablet |
10.13.13.4 |
Configs serveur : /root/docker-compose/wireguard/peer_*/peer_*.conf
Récupération des configs client¶
Via QR Code (mobile)¶
Ou via les PNGs générés :
Via fichiers (laptop/desktop)¶
pct pull 103 /root/docker-compose/wireguard/peer_adminlaptop/peer_adminlaptop.conf /tmp/adminlaptop.conf
Installation client¶
- Linux :
apt install wireguardpuiswg-quick up /path/to/config.conf - Windows/macOS : App officielle WireGuard, importer le fichier
.conf - iOS/Android : Scanner le QR code