This commit is contained in:
Ludovic Diemert 2021-11-15 17:44:50 +01:00
parent b82576d49e
commit a8125f9062

View File

@ -0,0 +1,14 @@
[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