From 11bf649f825366b3bc8c2c9c1a0c49ec33fcf2c1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Dec 2021 08:09:36 +0100 Subject: [PATCH] fichier de conf cli --- wireguard/wg0.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 wireguard/wg0.conf diff --git a/wireguard/wg0.conf b/wireguard/wg0.conf new file mode 100644 index 0000000..6cfc4db --- /dev/null +++ b/wireguard/wg0.conf @@ -0,0 +1,11 @@ +[Interface] +PrivateKey = wPeucw5LApEAm87Rub1et4bT7jrzTeLUMnAqDz8nIEA= # de machine B +Address = 10.0.2.2/24 +#DNS = 192.168.1.254 + +[Peer] +PublicKey = 9SGN96Lr/98ifinfaYYqnlYfRCckE0bCj9FJgctrpRQ= # de machineA +AllowedIPs = 10.0.2.0/24 #, 192.168.1.0/24 +#AllowedIPs = 0.0.0.0/0 +Endpoint = 10.121.38.33:51820 +PersistentKeepalive = 20