mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-22 09:09:23 +08:00
fix WG_MTU
This commit is contained in:
parent
f829bbdf41
commit
e1582ec678
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user