This commit is contained in:
Emile Nijssen 2021-05-22 22:21:09 +02:00
parent eaf3d5c3fb
commit d7bb645470
25 changed files with 4632 additions and 2 deletions

8
src/config.js Normal file
View file

@ -0,0 +1,8 @@
'use strict';
module.exports.PORT = process.env.PORT || 80;
module.exports.PASSWORD = process.env.PASSWORD || 'wireguard';
module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/';
module.exports.WG_HOST = process.env.WG_HOST || '127.0.0.1';
module.exports.WG_PORT = process.env.WG_PORT || 51820;
module.exports.WG_DEFAULT_ADDRESS = process.env.WG_DEFAULT_ADDRESS || '10.6.0.1/32';