Sunshine: Difference between revisions

Devusb (talk | contribs)
m fix formatting error
Sandro (talk | contribs)
Drop manual firewall configuration as it doesn't match upstream anyway
Line 15: Line 15:
</nowiki>}}
</nowiki>}}


For manual Firewall configuration you can open network ports as shown here:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
networking.firewall = {
  enable = true;
  allowedTCPPorts = [ 47984 47989 47990 48010 ];
  allowedUDPPortRanges = [
    { from = 47998; to = 48000; }
    { from = 8000; to = 8010; }
  ];
};
</nowiki>}}


== Connecting to the host ==
== Connecting to the host ==