From aae118b476f9cd15de891145623cf7e133b33a9b Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 26 May 2023 22:45:41 +0000 Subject: [PATCH] net: open UDP ports required for UPnP --- hosts/common/net.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/common/net.nix b/hosts/common/net.nix index a4b592db..66b49da1 100644 --- a/hosts/common/net.nix +++ b/hosts/common/net.nix @@ -20,4 +20,8 @@ General.RoamThreshold = "-52"; # default -70 General.RoamThreshold5G = "-52"; # default -76 }; + + networking.firewall.allowedUDPPorts = [ + 1900 # to received UPnP advertisements. required by sane-ip-check-upnp + ]; }