From 0968e30478625de4733749f05679bc3e5d8d3d96 Mon Sep 17 00:00:00 2001 From: totally not a cat <46599814+cuzrawr@users.noreply.github.com> Date: Sun, 8 May 2022 05:31:24 +0000 Subject: [PATCH] Update WireGuard.js Fix for WG_PORT variable, because it was hardcoded to 51820 before. --- src/lib/WireGuard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 032854f1..a7c75570 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -93,7 +93,7 @@ module.exports = class WireGuard { [Interface] PrivateKey = ${config.server.privateKey} Address = ${config.server.address}/24 -ListenPort = 51820 +ListenPort = ${WG_PORT} PostUp = ${WG_POST_UP} PostDown = ${WG_POST_DOWN} `;