featured [he/him, comrade/them]

  • 0 Posts
  • 11 Comments
Joined 3 years ago
cake
Cake day: November 20th, 2021

help-circle
  • Reenable the firewall with

    systemctl start firewalld 
    

    Then get the current networking zone with

    firewall-cmd —get-active-zones 
    

    It will likely be called FedoraWorkstation, if not just replace that name with whatever it is called in the following steps.

    Next you should enable the ports for Moonlight, which from a quick ddg search I think this should do it:

    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=47998/udp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=47999/udp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=48000/udp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=47984/tcp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=47989/tcp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=48010/tcp
    
    firewall-cmd —zone=FedoraWorkstation —permanent —add-port=47990/tcp
    

    Then reload the firewall with:

    firewall-cmd —reload
    

    Lmk if that works

    Edit: added more ports needed for the WebUI and controller support. Check the docs here if you wanna see what each port is used for






  • Instead of installing packages through a package manager one at a time and configuring your system by digging into individual config files, NixOS has you write a single config file with all your settings and programs declared. This lets you more easily configure your system and have a completely reproducible system by just copying your nix files to another nixos machine and rebuilding.

    It’s also an immutable distribution, so the base system files are only modified when rebuilding the whole system from your config, but during runtime it’s read only for security and stability.