From cac76c69d86b3b9e5a8c22e4c286871667306730 Mon Sep 17 00:00:00 2001 From: zwnk Date: Mon, 15 Feb 2021 12:34:07 +0100 Subject: [PATCH] clean up for readability --- wireguard.conf | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/wireguard.conf b/wireguard.conf index 3e6f72f..b142f4e 100644 --- a/wireguard.conf +++ b/wireguard.conf @@ -1,50 +1,47 @@ +############ SERVER CONFIG ################# # Server [Interface] Address = 10.8.0.1 ListenPort = 51820 PrivateKey = privserver -SaveConfig = false +# Server end -# laptop start +# client 1 [Peer] PublicKey = client1 PresharedKey = sss AllowedIPs = 10.8.0.3/32 -# laptop end +# client 1 end -# omv +# client 2 [Peer] PublicKey = client2 AllowedIPs = 10.8.0.4/32 -# omv end +# client 2 end -################################################### +###################### CLIENT 1 CONFIG ############################ -# Client 1 [Interface] PrivateKey = privcl1 Address = 10.8.0.3/32 -MTU = 1280 [Peer] PublicKey = pubserv PresharedKey = sss AllowedIPs = 10.8.0.0/24 -Endpoint = xxx:51820 +Endpoint = xxx:51820 # public ip address of the server PersistentKeepalive = 25 -################################################## +###################### CLIENT 2 CONFIG ############################ -# Client 2 [Interface] PrivateKey = privcl2 Address = 10.8.0.4/32 -MTU = 1280 [Peer] PublicKey = pubserv AllowedIPs = 10.8.0.0/24 -Endpoint = xxx:51820 +Endpoint = xxx:51820 # public ip address of the server PersistentKeepalive = 25 ################################################## \ No newline at end of file