fix WG_MTU

This commit is contained in:
Emile Nijssen 2022-01-10 22:57:32 -08:00
parent f829bbdf41
commit e1582ec678
1 changed files with 1 additions and 3 deletions

View File

@ -192,9 +192,7 @@ AllowedIPs = ${client.address}/32`;
PrivateKey = ${client.privateKey}
Address = ${client.address}/24
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''}
if (typeof ${WG_MTU} !== 'undefined' || ${WG_MTU} !== null) {
MTU = ${WG_MTU}
}
${WG_MTU ? `MTU = ${WG_MTU}` : ''}
[Peer]
PublicKey = ${config.server.publicKey}