forked from mirrors/amnezia-wg-easy
lib/WireGuard.js - ListenPort from ENV (#11)
Co-authored-by: Whithil <ericcruz.prog@gmail.com>
This commit is contained in:
parent
1fbc8effca
commit
e429c86d81
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue