mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-23 01:29:24 +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}
|
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}
|
||||||
|
Loading…
Reference in New Issue
Block a user