aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config/templates/peer.conf
blob: 525b2bd80a3109aed2381aa8c626d0c92dc4e568 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
[Interface]
Address = ${CLIENT_IP}
PrivateKey = $(cat /config/${PEER_ID}/privatekey-${PEER_ID})
DNS = ${PEERDNS}

[Peer]
PublicKey = $(cat /config/server/publickey-server)
PresharedKey = $(cat /config/${PEER_ID}/presharedkey-${PEER_ID})
Endpoint = ${SERVERURL}:${SERVERPORT}
AllowedIPs = ${ALLOWEDIPS}