15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
[Interface]
|
|
Address = 10.0.2.1/24 # Adresses autorisées dans le VPN
|
|
Listenport = 51820
|
|
|
|
# clé privée de machine A
|
|
PrivateKey = WM0fO9rPFKRtkvKKEcqnUXwhTJ/aWtr8oWXkowuEFX8=
|
|
# UDP service port; 51820 is a common choice for WireGuard
|
|
|
|
|
|
[Peer]
|
|
PublicKey = u0/S3/nbLceihWjlsSbPSBvhT4BsLp/b+dGpeLhqElg=
|
|
AllowedIPs = 10.0.2.1/24 # le peer peut acceder au serveur
|
|
|
|
|