From 25c570d26f867ac49e44d3d598405a309c00641d Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 28 Sep 2020 16:51:54 +0200 Subject: [PATCH] Change Wireguard port to UDP 53 --- modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index a51d1f8..cb9382f 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -37,7 +37,7 @@ in { 443 ]; allowedUDPPorts = [ - 1194 # Wireguard + 53 # Wireguard ]; autoLoadConntrackHelpers = true; connectionTrackingModules = [ "sane" ]; @@ -60,7 +60,7 @@ in { networking.wireguard.interfaces = { wg0 = { ips = [ "10.8.0.1/24" ]; - listenPort = 1194; + listenPort = 53; privateKeyFile = "/home/coolneng/.wg/keys/privatekey"; peers = [ # Panacea