this post was submitted on 19 Jun 2024
13 points (100.0% liked)
Linux Gaming
15825 readers
57 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Maybe firewalld is getting in the way. You can temporarily disable it:
sudo systemctl stop firewalld
If that doesn’t work, you can see if SELinux is the issue. Temporarily disable:
sudo setenforce 0
Be sure to re-enable SELinux:
sudo setenforce 1
The firewall was the issue. How do I enable the firewall?
To start the firewall after you stopped it:
systemctl
is part of systemd - it starts and stops various services, shows statuses, lists available services, etc.There is documentation on opening ports here, plus more details on enabling & disabling the firewall: https://docs.fedoraproject.org/en-US/quick-docs/firewalld/#_controlling_ports_using_firewalld
Reenable the firewall with
Then get the current networking zone with
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:
Then reload the firewall with:
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
Wouldn't it be better to open specific ports than disabling the entire firewall? Or am i missing something?
Better for testing to disable, then figure out ports and stuff afterward if the disable worked, I assume is the logic
Good point, thanks for clarifying