aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config/templates/peer.conf
blob: cd6e3aecde5d65c77112f080dcffe4023fb2d20e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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}