From a8125f906218f3af2a9b990bb183735ec836dbed Mon Sep 17 00:00:00 2001 From: Ludovic Diemert Date: Mon, 15 Nov 2021 17:44:50 +0100 Subject: [PATCH] commit --- sio2/cyber/10-WireGuard/wg0.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sio2/cyber/10-WireGuard/wg0.conf 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 + +