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
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}