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