Browse Source

Update WireGuard.js

Fix for WG_PORT variable, because it was hardcoded to 51820 before.
pull/257/head
totally not a cat 4 years ago
committed by GitHub
parent
commit
0968e30478
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -93,7 +93,7 @@ module.exports = class WireGuard {
[Interface]
PrivateKey = ${config.server.privateKey}
Address = ${config.server.address}/24
ListenPort = 51820
ListenPort = ${WG_PORT}
PostUp = ${WG_POST_UP}
PostDown = ${WG_POST_DOWN}
`;

Loading…
Cancel
Save