Browse Source

fixup: WireGuard.js

pull/781/head
Philip H 2 years ago
committed by GitHub
parent
commit
667e198cd4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -210,7 +210,7 @@ AllowedIPs = ${client.address}/32, ${client.address6}/128`;
return `[Interface] return `[Interface]
PrivateKey = ${client.privateKey} PrivateKey = ${client.privateKey}
Address = ${client.address}/24, ${client.address6}/64 Address = ${client.address}/24, ${client.address6}/64
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}\n` : ''}\ ${isDnsSet ? `DNS = ${dnsServers}\n` : ''}\
${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\ ${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\
[Peer] [Peer]

Loading…
Cancel
Save