diff options
Diffstat (limited to 'test/linuxserver/example_config/templates/peer.conf')
-rw-r--r-- | test/linuxserver/example_config/templates/peer.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/linuxserver/example_config/templates/peer.conf b/test/linuxserver/example_config/templates/peer.conf new file mode 100644 index 0000000..cd6e3ae --- /dev/null +++ b/test/linuxserver/example_config/templates/peer.conf @@ -0,0 +1,11 @@ +[Interface] +Address = ${CLIENT_IP} +PrivateKey = $(cat /config/${PEER_ID}/privatekey-${PEER_ID}) +ListenPort = 51820 +DNS = ${PEERDNS} + +[Peer] +PublicKey = $(cat /config/server/publickey-server) +PresharedKey = $(cat /config/${PEER_ID}/presharedkey-${PEER_ID}) +Endpoint = ${SERVERURL}:${SERVERPORT} +AllowedIPs = ${ALLOWEDIPS}
\ No newline at end of file |