14 lines
360 B
Django/Jinja
14 lines
360 B
Django/Jinja
# WireGuard - A configurer a la phase 5 (VPS)
|
|
# Generer les cles : wg genkey | tee privatekey | wg pubkey > publickey
|
|
|
|
[Interface]
|
|
Address = 10.0.0.2/24
|
|
PrivateKey = {{ wireguard_private_key }}
|
|
ListenPort = 51820
|
|
|
|
[Peer]
|
|
# VPS
|
|
PublicKey = {{ wireguard_vps_public_key }}
|
|
Endpoint = {{ wireguard_vps_ip }}:51820
|
|
AllowedIPs = 10.0.0.1/32
|
|
PersistentKeepalive = 25
|