I’ve installed zerotier on both my host pc and my steam deck and have added them both on the same network. I’m unsure of where to go from here though. I’m using moonlight/sunshine to stream my games from my pc to steamdeck and when I’m on my home network it works flawlessly. But I’m not entirely sure how to configure zerotier so I’m able to do the same outside of my home network. Would appreciate any input.
Here’s how to configure it for streaming games from your host PC to your Steam Deck outside your home network - hope it works for you.
ZeroTier Network Configuration:
Ensure both your host PC and Steam Deck are joined to the same ZeroTier network. Check the ZeroTier web console to confirm they’re online.
Check IP Addresses:
Each device will be assigned a unique ZeroTier virtual IP. You can find this in the ZeroTier console. Make a note of these IPs, as you’ll need them for the next steps.
Sunshine Configuration:
In the Sunshine configuration, ensure it’s set to accept connections from the ZeroTier IP of your Steam Deck. You might need to specify the network interface in the Sunshine settings to use ZeroTier.
Firewall Rules:
Verify that your host PC’s firewall allows incoming traffic on the ports Sunshine uses (typically TCP/UDP 47984). You might need to create specific inbound rules in your firewall settings.
Router Configuration:
If you have a double NAT situation (like if you’re behind another router), you may need to set up port forwarding on your router to ensure external access.
Testing Connectivity:
Once everything is set up, test the connection by trying to stream while on a different network (like mobile data). Use the ZeroTier IP of your host PC to connect through Moonlight.
Diagnostics:
If you encounter issues, ping the ZeroTier IP of your host PC from your Steam Deck to check connectivity. You can also review logs in Sunshine for any connection attempts or errors.
Let me know if you need further assistance or if you run into any specific issues!