lib/WireGuard.js - ListenPort from ENV (#11)
Co-authored-by: Whithil <ericcruz.prog@gmail.com>
This commit is contained in:
parent
1fbc8effca
commit
e429c86d81
|
@ -95,7 +95,7 @@ module.exports = class WireGuard {
|
||||||
[Interface]
|
[Interface]
|
||||||
PrivateKey = ${config.server.privateKey}
|
PrivateKey = ${config.server.privateKey}
|
||||||
Address = ${config.server.address}/24
|
Address = ${config.server.address}/24
|
||||||
ListenPort = 51820
|
ListenPort = ${WG_PORT}
|
||||||
PreUp = ${WG_PRE_UP}
|
PreUp = ${WG_PRE_UP}
|
||||||
PostUp = ${WG_POST_UP}
|
PostUp = ${WG_POST_UP}
|
||||||
PreDown = ${WG_PRE_DOWN}
|
PreDown = ${WG_PRE_DOWN}
|
||||||
|
|
Loading…
Reference in New Issue