Browse Source

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

Co-authored-by: Whithil <[email protected]>
pull/686/head
Philip H 1 year ago
committed by GitHub
parent
commit
e429c86d81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -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…
Cancel
Save