From d78881a7527206fdc9d89cad1b83ba0c4f8eb900 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 4 Dec 2023 09:25:21 +0100 Subject: [PATCH] ajout fichier config wireguard --- sio2/CYBER/Wireguard/wg0-a.conf | 10 ++++++++++ sio2/CYBER/Wireguard/wg0-b.conf | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 sio2/CYBER/Wireguard/wg0-a.conf create mode 100644 sio2/CYBER/Wireguard/wg0-b.conf diff --git a/sio2/CYBER/Wireguard/wg0-a.conf b/sio2/CYBER/Wireguard/wg0-a.conf new file mode 100644 index 0000000..04f0357 --- /dev/null +++ b/sio2/CYBER/Wireguard/wg0-a.conf @@ -0,0 +1,10 @@ +[Interface] +PrivateKey = iGPtDYyKYCoQVPofdo7KQXfC4OGCGOBXonF44nKUSFw= +Address = 10.0.0.2/32 # Adresses autorisées dans le VPN +Listenport = 51820 + +[Peer] +PublicKey = sAJc6fITMHs9Entb5upqGMN+4M+fnhIIpcWbQiqW50g= # de machine B +AllowedIPs = 10.0.0.0/24 # le peer peut acceder au serveur +Endpoint = 192.168.0.45:51820 + diff --git a/sio2/CYBER/Wireguard/wg0-b.conf b/sio2/CYBER/Wireguard/wg0-b.conf new file mode 100644 index 0000000..074e0d8 --- /dev/null +++ b/sio2/CYBER/Wireguard/wg0-b.conf @@ -0,0 +1,10 @@ +[Interface] +Address = 10.0.0.1/32 # Adresses autorisées dans le VPN +Listenport = 51820 +PrivateKey = YH3oUGyt8hXlqRINQIANWsqf7Bd+SJcyLhMLGPwbvHk= + +[Peer] +PublicKey = k2Yzmoz+7e1TT+n2+zK9AHjssgQLp7DW0T3Zi+AtPV0= # de machine B +AllowedIPs = 10.0.0.0/24 # le peer peut acceder au serveur +Endpoint = 192.168.0.26:51820 +