|
@ -54,10 +54,11 @@ PrivateKey = ${client.privateKey} |
|
|
Address = ${client.ipv4Address}/${cidr4Block}, ${client.ipv6Address}/${cidr6Block} |
|
|
Address = ${client.ipv4Address}/${cidr4Block}, ${client.ipv6Address}/${cidr6Block} |
|
|
DNS = ${client.dns.join(', ')} |
|
|
DNS = ${client.dns.join(', ')} |
|
|
MTU = ${client.mtu} |
|
|
MTU = ${client.mtu} |
|
|
PreUp = ${client.preUp} |
|
|
${client.preUp ? `PreUp = ${client.preUp}\n` : '' |
|
|
PostUp = ${client.postUp} |
|
|
}${client.postUp ? `PostUp = ${client.postUp}\n` : '' |
|
|
PreDown = ${client.preDown} |
|
|
}${client.preDown ? `PreDown = ${client.preDown}\n` : '' |
|
|
PostDown = ${client.postDown} |
|
|
}${client.postDown ? `PostDown = ${client.postDown}\n` : '' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
[Peer] |
|
|
[Peer] |
|
|
PublicKey = ${wgInterface.publicKey} |
|
|
PublicKey = ${wgInterface.publicKey} |
|
|