unknownskl / greenlight

Greenlight is an open-source client for xCloud and Xbox home streaming made in Typescript.
MIT License
2.21k stars 124 forks source link

Can’t remote play outside of local network #593

Closed ipokampo closed 9 months ago

ipokampo commented 1 year ago

Hi, as the title says, remote play works fine in the local network, but it just shows a black screen when outside the local network.

this does not happen with the iPhone Xbox app, I can stream just fine over the internet.

Are you using any specific port or something I need to open in my NAT?

ricflairandy commented 1 year ago

same issues here and the same issues on ios with the official app.

aftermathicus commented 1 year ago

Same issue. Works on my home network no problem (Xbox and steamdeck on the same wifi). But If each are on different wifi networks will never connect. Says “connecting to console” but never connects.

When on different networks, connects fine with the iPhone Xbox app so it’s not the connection.

skoshy commented 1 year ago

It didn't work for me at first, but I just quit the app and restarted it and then it started working.

aftermathicus commented 1 year ago

Lucky. Tried multiple times and tried multiple different networks. No luck. Prefer remote play over xcloud, since the series x has quick resume and can play games not on xcloud. Hoping it works in future releases. (Remote play when a on different network than the Xbox I mean)

unknownskl commented 1 year ago

Remote streaming is not a feature of the application. It could work on some networks (mostly on ipv6) but it is really a hit and miss. The official app uses Teredo which is not implemented in this application

neodian commented 1 year ago

Although is not the solution I've tried the Greenlight v2 with Wireguard VPN at home and is working perfectly fine everywhere. Even tried using mobile data but there was many input lag, but on fibre works flawlessly.

Dreamescaper commented 1 year ago

@neodian Thanks a lot for a suggestion, I have set up an OpenVPN on my router, and it seems to be working fine.

tbrownio commented 11 months ago

I had the same issue of the Xbox not connecting on steam deck but connecting successfully on the iPhone app. I realized that the issue was that the steam deck was automatically defaulting to my 2.4GHZ wifi network and the Xbox was on the 5GHZ. So I separated the 2.4GHZ and the 5GHZ into two WiFi networks (they used to be under the same name) and that solved the problem. Kinda annoying though for everyone else in the house.

killam42 commented 10 months ago

With the new release beta 15, port forwarding 9002 fixed the issue I had with accessing my xbox from outside my home and it works great, thanks for the updates :)

Trashinated1 commented 10 months ago

Enable DMZplus or something like that in your router settings. Annotation 2023-12-03 104305

IslamWahid commented 10 months ago

just managed to do it with the new version and v2 beta15 and forwarding port 9002 (UDP) FYI

codybrom commented 9 months ago

just managed to do it with the new version and v2 beta15 and forwarding port 9002 (UDP) FYI

+1 to this. Worked for me on 2.0.1

unknownskl commented 9 months ago

just managed to do it with the new version and v2 beta15 and forwarding port 9002 (UDP) FYI

This is the way :) Closing the issue

intzaaa commented 1 month ago

A better solution is to install and enable the Teredo client locally. If your Xbox console is behind multiple layers of NAT, forwarding port 9002 will not solve the problem. Miredo implements the Teredo client (and server) on Linux. All you need to do is install miredo through your distribution's package manager and configure Microsoft's teredo server in /etc/miredo.