From c2ff03241d357e260d59ffbdbec8d8e285214053 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 5 Mar 2020 09:01:54 +0100 Subject: [PATCH] Change Wireguard port to 1194 --- modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index f8e4686..14f19fa 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -40,7 +40,7 @@ 443 ]; allowedUDPPorts = [ - 51820 # Wireguard + 1194 # Wireguard ]; autoLoadConntrackHelpers = true; connectionTrackingModules = [ "sane" ]; @@ -63,7 +63,7 @@ networking.wireguard.interfaces = { wg0 = { ips = [ "10.8.0.1/24" ]; - listenPort = 51820; + listenPort = 1194; privateKeyFile = "/home/coolneng/.wg/keys/privatekey"; peers = [ # Monolith