Hi I got the following problem. I successfully created a Tailscale network and a user from outside the network can login and connect to my network. That part works properly. We use a Fedora Linux PC as a host (Sunshine) and Moonlight Client on a Windows 10 PC. After tinkering for hours we can now see each other but I get the following issue “Request Timed Out (Error 4)” This issue always happens after inputting the PIN which is displayed on the Windows (Moonlight) on my Fedora PC (Sunshine) the client cannot connect after that but still sees my PC online and as a viable option to connect.

Additional Info: I’ve asked in the Moonlight Discord but I still got no answer.

  • featured [he/him, comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 months ago

    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