Browse Source

Adding Persistent keepalive

pull/46/head
Fastidious 4 years ago
committed by GitHub
parent
commit
587bb7a3f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/config.js

1
src/config.js

@ -8,6 +8,7 @@ module.exports.PASSWORD = process.env.PASSWORD;
module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/';
module.exports.WG_HOST = process.env.WG_HOST;
module.exports.WG_PORT = process.env.WG_PORT || 51820;
module.exports.WG_PERSISTENTKEEPALIVE = process.env.WG_PERSISTENTKEEPALIVE || 25;
module.exports.WG_DEFAULT_ADDRESS = process.env.WG_DEFAULT_ADDRESS || '10.8.0.x';
module.exports.WG_DEFAULT_DNS = typeof process.env.WG_DEFAULT_DNS === 'string'
? process.env.WG_DEFAULT_DNS

Loading…
Cancel
Save