From e3887d057320f62cfbe1fb61557d6ed538641187 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 3 May 2022 09:16:21 +0200 Subject: [PATCH] service/wireguard-server: bypass firewalls --- hosts/VEGAS/services/wireguard-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/VEGAS/services/wireguard-server/default.nix b/hosts/VEGAS/services/wireguard-server/default.nix index accf48d..a586874 100644 --- a/hosts/VEGAS/services/wireguard-server/default.nix +++ b/hosts/VEGAS/services/wireguard-server/default.nix @@ -12,7 +12,7 @@ in networking = { firewall = { - allowedUDPPorts = [ 51194 ]; + allowedUDPPorts = [ 43 ]; }; nat.internalIPs = [ @@ -23,7 +23,7 @@ in enable = true; interfaces.wgstorm = { ips = [ "10.100.0.1/24" ]; - listenPort = 51194; + listenPort = 43; privateKeyFile = config.age.secrets.wireguard-key-storm.path; peers = [ {