diff --git a/sio2/cyber/10-WireGuard/wg0.conf b/sio2/cyber/10-WireGuard/wg0.conf new file mode 100644 index 0000000..0e7a81f --- /dev/null +++ b/sio2/cyber/10-WireGuard/wg0.conf @@ -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 + +