mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-19 15:25:35 +00:00
12 lines
321 B
Plaintext
12 lines
321 B
Plaintext
[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}
|