Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey

This commit is contained in:
Philip H 2024-02-26 10:47:43 +01:00 committed by GitHub
commit 00956ecf74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 413 additions and 214 deletions

View file

@ -200,8 +200,8 @@ AllowedIPs = ${client.address}/32`;
[Interface]
PrivateKey = ${client.privateKey ? `${client.privateKey}` : 'REPLACE_ME'}
Address = ${client.address}/24
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''}
${WG_MTU ? `MTU = ${WG_MTU}` : ''}
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}\n` : ''}\
${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\
[Peer]
PublicKey = ${config.server.publicKey}