clean up for readability

This commit is contained in:
zwnk 2021-02-15 12:34:07 +01:00
parent c14ef049c2
commit cac76c69d8
1 changed files with 10 additions and 13 deletions

View File

@ -1,50 +1,47 @@
############ SERVER CONFIG #################
# Server # Server
[Interface] [Interface]
Address = 10.8.0.1 Address = 10.8.0.1
ListenPort = 51820 ListenPort = 51820
PrivateKey = privserver PrivateKey = privserver
SaveConfig = false # Server end
# laptop start # client 1
[Peer] [Peer]
PublicKey = client1 PublicKey = client1
PresharedKey = sss PresharedKey = sss
AllowedIPs = 10.8.0.3/32 AllowedIPs = 10.8.0.3/32
# laptop end # client 1 end
# omv # client 2
[Peer] [Peer]
PublicKey = client2 PublicKey = client2
AllowedIPs = 10.8.0.4/32 AllowedIPs = 10.8.0.4/32
# omv end # client 2 end
################################################### ###################### CLIENT 1 CONFIG ############################
# Client 1
[Interface] [Interface]
PrivateKey = privcl1 PrivateKey = privcl1
Address = 10.8.0.3/32 Address = 10.8.0.3/32
MTU = 1280
[Peer] [Peer]
PublicKey = pubserv PublicKey = pubserv
PresharedKey = sss PresharedKey = sss
AllowedIPs = 10.8.0.0/24 AllowedIPs = 10.8.0.0/24
Endpoint = xxx:51820 Endpoint = xxx:51820 # public ip address of the server
PersistentKeepalive = 25 PersistentKeepalive = 25
################################################## ###################### CLIENT 2 CONFIG ############################
# Client 2
[Interface] [Interface]
PrivateKey = privcl2 PrivateKey = privcl2
Address = 10.8.0.4/32 Address = 10.8.0.4/32
MTU = 1280
[Peer] [Peer]
PublicKey = pubserv PublicKey = pubserv
AllowedIPs = 10.8.0.0/24 AllowedIPs = 10.8.0.0/24
Endpoint = xxx:51820 Endpoint = xxx:51820 # public ip address of the server
PersistentKeepalive = 25 PersistentKeepalive = 25
################################################## ##################################################