From e16cd8880e8058755ac4b5f740ba8272ce47f50c Mon Sep 17 00:00:00 2001 From: ludovic diemert Date: Tue, 14 Dec 2021 08:17:27 +0100 Subject: [PATCH] fichier de conf srv --- wireguard/wg0_bis.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wireguard/wg0_bis.conf diff --git a/wireguard/wg0_bis.conf b/wireguard/wg0_bis.conf new file mode 100644 index 0000000..70cca54 --- /dev/null +++ b/wireguard/wg0_bis.conf @@ -0,0 +1,12 @@ +[Interface] +Address = 10.0.2.1/24 # Adresses autorisées dans le VPN +Listenport = 51820 + +# clé privée de machine A +PrivateKey = gH7dHUHX8cbpvc3TcazYDfJpJK4QXWfCJJ+QbBKh33s= +# UDP service port; 51820 is a common choice for WireGuard +ListenPort = 51820 + +[Peer] +PublicKey = pqqV6rxSa4kT7xJcaSpmky/eK3rCp4JvncjtqcSsPmI= # de machine B +AllowedIPs = 10.0.2.1/24 # le peer peut acceder au serveur