From a3e8ae5ee96c45db0cfdb10825d22bf26923e53a Mon Sep 17 00:00:00 2001 From: Curt Spark Date: Thu, 4 Dec 2025 19:56:59 +0000 Subject: [PATCH] Sunshine firewall rules --- global.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/global.nix b/global.nix index 7da9509f..160ceeb6 100644 --- a/global.nix +++ b/global.nix @@ -615,8 +615,9 @@ # Open ports in the firewall. # 3240 - USBIP Port # 1714 to 1764 - KDEConnect + # 47984 47989 47990 48010 and 47998 to 48000 / 8000 to 8010 - Sunshine Remote Desktop networking.firewall = { - allowedTCPPorts = [ 3240 25565 ]; + allowedTCPPorts = [ 3240 25565 47984 47989 47990 48010 ]; allowedTCPPortRanges = [ { from = 1714; to = 1764; } { from = 27015; to = 27050; } @@ -625,6 +626,8 @@ allowedUDPPortRanges = [ { from = 1714; to = 1764; } { from = 27015; to = 27050; } + { from = 47998; to = 48000; } + { from = 8000; to = 8010; } ]; # Or disable the firewall altogether. enable = true;