lib/WireGuard.js - ListenPort from ENV (#11)

Co-authored-by: Whithil <ericcruz.prog@gmail.com>
This commit is contained in:
Philip H 2023-11-05 11:31:04 +01:00 committed by GitHub
parent 1fbc8effca
commit e429c86d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ module.exports = class WireGuard {
[Interface]
PrivateKey = ${config.server.privateKey}
Address = ${config.server.address}/24
ListenPort = 51820
ListenPort = ${WG_PORT}
PreUp = ${WG_PRE_UP}
PostUp = ${WG_POST_UP}
PreDown = ${WG_PRE_DOWN}