From 32d6b7dbd1f2237f937a8efeb3a33bc048c043e4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Oct 2023 15:52:38 +0200 Subject: [PATCH] tp wireguard --- sio2/CYBER/Wireguard/wg0-a.conf | 15 +++++++++++++++ sio2/CYBER/wg0-b.conf | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 sio2/CYBER/Wireguard/wg0-a.conf create mode 100644 sio2/CYBER/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..a0fa043 --- /dev/null +++ b/sio2/CYBER/Wireguard/wg0-a.conf @@ -0,0 +1,15 @@ +# local settings for Endpoint A +[Interface] +PrivateKey = aLihTWpe3bt3XwNPGOVS0mB9vfr4JqeZPyzhlgQ052k= +Address = 10.0.0.1/32 +ListenPort = 51820 + +# IP forwarding +PreUp = sysctl -w net.ipv4.ip_forward=1 + +# remote settings for Endpoint B +[Peer] +PublicKey = 8bEwgf4jUaIvZslBNwQSP3sNrJPZg1YDiFqyMCvJszo= +Endpoint = 192.168.3.2:51820 +AllowedIPs = 10.0.0.2/32, 192.168.2.0/24 + diff --git a/sio2/CYBER/wg0-b.conf b/sio2/CYBER/wg0-b.conf new file mode 100644 index 0000000..15cbba5 --- /dev/null +++ b/sio2/CYBER/wg0-b.conf @@ -0,0 +1,15 @@ +# local settings for Endpoint B +[Interface] +PrivateKey = eLqg4jQCId97MOdcP5k0FIlxnaMBArlPPEaTVmRPWFk= +Address = 10.0.0.2/32 +ListenPort = 51820 + +# IP forwarding +PreUp = sysctl -w net.ipv4.ip_forward=1 + +# remote settings for Endpoint A +[Peer] +PublicKey = 5UQzcels7MqDXWdt2oDvfbjykISpYl4i8uYFytHijUc= +Endpoint = 192.168.3.2:51820 +AllowedIPs = 10.0.0.1/32, 192.168.1.0/24 +