mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-06 09:20:26 +00:00
10 lines
267 B
Plaintext
10 lines
267 B
Plaintext
[Interface]
|
|
Address = ${INTERFACE}.$(( $i + 1 ))
|
|
PrivateKey = $(cat /config/peer${i}/privatekey-peer${i})
|
|
ListenPort = 51820
|
|
DNS = ${PEERDNS}
|
|
|
|
[Peer]
|
|
PublicKey = $(cat /config/server/publickey-server)
|
|
Endpoint = ${SERVERURL}:${SERVERPORT}
|
|
AllowedIPs = 0.0.0.0/0, ::/0 |