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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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} |
|
|
|
`;
|
|
|
|
|