peer.conf 320 B

1234567891011
  1. [Interface]
  2. Address = ${CLIENT_IP}
  3. PrivateKey = $(cat /config/${PEER_ID}/privatekey-${PEER_ID})
  4. ListenPort = 51820
  5. DNS = ${PEERDNS}
  6. [Peer]
  7. PublicKey = $(cat /config/server/publickey-server)
  8. PresharedKey = $(cat /config/${PEER_ID}/presharedkey-${PEER_ID})
  9. Endpoint = ${SERVERURL}:${SERVERPORT}
  10. AllowedIPs = ${ALLOWEDIPS}