linuxserver-mods/wireguard-ipv6/root/defaults/peer.conf

12 lines
339 B
Plaintext
Raw Normal View History

2024-05-15 18:36:19 +00:00
[Interface]
Address = ${CLIENT_IPV4}, ${CLIENT_IPV6}
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}