I’m trying to stream games over the internet for me and a friend.

Connecting with my Android phone via my local network works fine.

Trying to add a computer manually with an IP address does not.

I went to https://www.showmyip.com/ to get my IP address and entered that, it didn’t work. I tried adding the port in the Sunshine web UI after the IP address, that didn’t work.

I’ve read this could be a firewall issue. I disabled ufw and connecting still does not work.

I tried enabling UPnP in the Sunshine web UI, and that didn’t solve the problem.

What’s the recommended way to connect to a PC manually? They’re not very clear about what information is needed, even specifying that we need to include a port would help.

  • habitualTartare@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    Know that doing this is not advised and your computer will now be directly accessible to the Internet. As long as you’re fine with the potential for vulnerabilities and that risk or just don’t care:

    You need to setup port forwarding on the local router for the computer you want to connect to and check the docs for origin_web_ui to include “wan” (Internet). Docs also describe encryption configurations. https://docs.lizardbyte.dev/projects/sunshine/latest/md_docs_2configuration.html#port

    Know that your network router (like 192.168.1.1) keeps everything on your network from receiving any connections that weren’t already requested by a computer or phone on your network. Port forwarding opens a hole into your network and that computer now has to protect itself so keep it updated, especially sunshine, and I’d recommend not turning off ufw but just adding some rules to allow the sunshine traffic.