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
[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
##################################################