fix WG_MTU

This commit is contained in:
Emile Nijssen 2022-01-10 22:57:32 -08:00
parent f829bbdf41
commit e1582ec678

View File

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