Sunshine firewall rules

This commit is contained in:
Curt Spark 2025-12-04 19:56:59 +00:00
parent 3d04e10cc6
commit a3e8ae5ee9
1 changed files with 4 additions and 1 deletions

View File

@ -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;