Jafner.net/archive/docker_config/wireguard/config/templates/peer.conf

10 lines
255 B
Plaintext
Raw Normal View History

2021-03-01 11:45:53 -08:00
[Interface]
Address = ${CLIENT_IP}
PrivateKey = $(cat /config/${PEER_ID}/privatekey-${PEER_ID})
ListenPort = 51820
DNS = ${PEERDNS}
[Peer]
PublicKey = $(cat /config/server/publickey-server)
Endpoint = ${SERVERURL}:${SERVERPORT}
AllowedIPs = ${ALLOWEDIPS}