From ba8ba921a4bb6a3fd225eac4c17c212d1f58408b Mon Sep 17 00:00:00 2001 From: etwas Date: Thu, 27 Feb 2025 21:10:24 +0100 Subject: [PATCH] feat: add firewall exclusions for mitmproxy ports --- modules/misc_hardware/networking.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/misc_hardware/networking.nix b/modules/misc_hardware/networking.nix index 0d09875..9182c19 100644 --- a/modules/misc_hardware/networking.nix +++ b/modules/misc_hardware/networking.nix @@ -24,6 +24,10 @@ to = 1764; } ]; + allowedTCPPorts = [ + 8080 # Mitmproxy + ]; + allowedUDPPortRanges = [ { from = 1714; @@ -32,6 +36,7 @@ ]; allowedUDPPorts = [ 24727 # AusweisApp Port + 8080 # Mitmproxy ]; }; };