[HOWTO] Shield streaming remotely without a VPN

-yz-

Senior Member
Aug 15, 2013
73
3
0
Does your PC show up as available in the TegraZone app with Shield Relay running on Windows and Android? The start button on the Android relay doesn't do anything other than just start the relay service in the background. You still need to use the TegraZone app to access streaming. If you see an error message saying "We haven't received any DNS responses. Is the Windows Shield Proxy running on your PC?" then check that ShieldProxy.exe is allowed through Windows Firewall on public and private networks.


ok thank you for try to help me .


yes my pc show up as avaliable in TegraZone app with Shield Relay running on Windows and Android yes i know that i still need the nvidia shield app for stream i just try to see in the ShieldProxy pc app or in the Shield Relay any sign of connection i in my local home network right now so i can check if if work or not but i just want to see if everything working.

but i see in the cmd window of the ShieldProxy this "Relaying mdns traffic to ....and its my shield ip address ! so its a good sign i think.
 
Last edited:

cgutman

Senior Member
Aug 14, 2010
485
427
0
ok thank you for try to help me .


yes my pc show up as avaliable in TegraZone app with Shield Relay running on Windows and Android yes i know that i still need the nvidia shield app for stream i just try to see in the ShieldProxy pc app or in the Shield Relay any sign of connection i in my local home network right now so i can check if if work or not but i just want to see if everything working.

but i see in the cmd window of the ShieldProxy this "Relaying mdns traffic to ....and its my shield ip address ! so its a good sign i think.
The relay is hard to test while on the same network. Depending on your router configuration, it may only work correctly when the wrong IP address is specified in the Android app. Make sure that the IP address you've put in is an external IP address (not 192.168.x.x, 172.16.x.x, 10.x.x.x). If you specify an internal IP address, it will work when on the same network but not from another network, which defeats the whole point of the relay.

The only way to really test is to try it externally.
 

-yz-

Senior Member
Aug 15, 2013
73
3
0
The relay is hard to test while on the same network. Depending on your router configuration, it may only work correctly when the wrong IP address is specified in the Android app. Make sure that the IP address you've put in is an external IP address (not 192.168.x.x, 172.16.x.x, 10.x.x.x). If you specify an internal IP address, it will work when on the same network but not from another network, which defeats the whole point of the relay.

The only way to really test is to try it externally.

i don't set my internal IP address ...
 

Endorn

Member
May 23, 2012
25
13
0
not working

Mine's not working right, any chance of some help? I probably just missed something stupid.


What happens for me is:
I *believe* I'm connecting OK. In the windows program it says "relaying MDNS traffic to <ip address>"

when I go to tegra zone I can find my PC and select it, and launch a game.

but when I launch the game, I get a black screen. It sits there for a little while, then I get a "cannot stream due to network interference" error.

Any ideas?
 

HobsonA

Senior Member
Dec 26, 2011
91
4
0
Albany
Mine's not working right, any chance of some help? I probably just missed something stupid.


What happens for me is:
I *believe* I'm connecting OK. In the windows program it says "relaying MDNS traffic to <ip address>"

when I go to tegra zone I can find my PC and select it, and launch a game.

but when I launch the game, I get a black screen. It sits there for a little while, then I get a "cannot stream due to network interference" error.

Any ideas?
What connection is your streaming computer on and your receiving location? I've found the shield proxy is more sensitive to dropping connections on slower connections and high latency connections than VPN. However when conditions are right shield proxy is like a hundred times better in my opinion (I actually feel like I'm playing local when im connected on a decent connection remotely)
 

Endorn

Member
May 23, 2012
25
13
0
What connection is your streaming computer on and your receiving location? I've found the shield proxy is more sensitive to dropping connections on slower connections and high latency connections than VPN. However when conditions are right shield proxy is like a hundred times better in my opinion (I actually feel like I'm playing local when im connected on a decent connection remotely)
I don't know about the latency, but I have 105mbps down and 30mbps up so I doubt bandwidth is an issue.
 

HobsonA

Senior Member
Dec 26, 2011
91
4
0
Albany
I don't know about the latency, but I have 105mbps down and 30mbps up so I doubt bandwidth is an issue.
How about the location where you are trying to stream to? I'm assuming you router is also setup to port forward correctly.

Just for a basic comparison of what I run on that seems to run decently and maybe answer some of those can I run this questions.

My home computer is hardwired to a E2000 linksys router (Network: 30 Down, 5 up) Needless to say I'm very envious of your connection

I stream from my girlfriends house with some random disconnects if wifi signal gets poor. She has some run of the mill provided by ISP 2.4 ghz wireless N router connected to a network (10 Down, 1 up)

Pinging from her house to mine shows me a latency average of about 35-40 ms.

Mostly the experience is enjoyable over these conditions with some lag spikes and stuttering in video which id imagine would be fixed with a better router on her end.

Unfortunately get like two people watching netflix at her house and the ping becomes 100+ and the connection will drop almost all the time over streaming :( Frequent lag spikes will cause disconnect as soon as you open a game which would suddenly demand higher bandwidth.

Edit: I guess the tl;dr version is open command prompt at your remote location (I'm sure you could maybe do this on terminal app on an android device like shield but I never tried) and ping yourself continuously and see what kind of time you get. I know at work I get great 20-30 ms ping but every now and then I'll get a few seconds of 200+ms pings or request timing out and that shows when shield gaming usually leading to a disconnect with network interference or huge lag spikes

In Windows:
Ping -t <Address or hostname>

Not sure about in other operating systems
 
Last edited:

cgutman

Senior Member
Aug 14, 2010
485
427
0
Mine's not working right, any chance of some help? I probably just missed something stupid.


What happens for me is:
I *believe* I'm connecting OK. In the windows program it says "relaying MDNS traffic to <ip address>"

when I go to tegra zone I can find my PC and select it, and launch a game.

but when I launch the game, I get a black screen. It sits there for a little while, then I get a "cannot stream due to network interference" error.

Any ideas?
Make sure that you've properly forwarded all of the required ports to your machine. You've definitely got UDP 5354 coming through, but somehow the others aren't getting through. Make sure you've specified the right protocol for each port in your port forwarding settings (UDP vs TCP). It's also possible that nvstreamsvc.exe isn't allowed through Windows Firewall so that might be worth checking.
 

ben09in

Member
Sep 20, 2013
5
0
0
New York
www.worldvpn.net
How to Shield streaming without a VPN

Over the past couple of weeks since I got a GTX 760 for my main rig, I've been playing with getting Shield streaming to work through a NAT. With a combination of an Android app and Windows app, I've been able to get the Shield to stream through a NAT device.This is alpha software, so it may not work for you. I'll be continuing development on it to make it more robust based on bug reports filed here and on the GitHub projects.
 

Endorn

Member
May 23, 2012
25
13
0
Just FYI I was able to fix my issue. I had lavasoft ad aware installed and even though I didn't think it had any kind of firewall on it, uninstalling it fixed everything.

This setup works amazing! (I was playing space marine on my lunch break today at work using it) It's awesome, thank you SO much for making this!!!

Anyone else feel like this is the future of all gaming?
 

clayton006

New member
Apr 6, 2008
4
0
0
After following all of the steps and forwarding all of the ports (as well as setting the computer as the DMZ) I get the following messages trying to run shieldproxy:

Joined MDNS multicast group with interface 10.0.0.1
Listening on <network adapter / driver name> (10.0.0.1) for Shield Traffic
Failed to bind UDP forwarding socket (10049)
Failed to register UDP relay
Failed to initialize pcap infrastructure

I have removed norton 360 from my computer, made sure that windows firewall is off. I've removed and reinstalled winpcap and rebooted a lot of times. Any other ideas?
 

clayton006

New member
Apr 6, 2008
4
0
0
Maybe there could be a way to log information about the proxy running. I've looked at a lot of directories but can't find any logging info for winpcap or the shieldproxy.
 

cgutman

Senior Member
Aug 14, 2010
485
427
0
After following all of the steps and forwarding all of the ports (as well as setting the computer as the DMZ) I get the following messages trying to run shieldproxy:

Joined MDNS multicast group with interface 10.0.0.1
Listening on <network adapter / driver name> (10.0.0.1) for Shield Traffic
Failed to bind UDP forwarding socket (10049)
Failed to register UDP relay
Failed to initialize pcap infrastructure

I have removed norton 360 from my computer, made sure that windows firewall is off. I've removed and reinstalled winpcap and rebooted a lot of times. Any other ideas?
I've reproduced your issue and released the fix in v0.4 of the Shield Proxy for Windows. The issue was that I didn't clear the status that caused an interface to get skipped so if the last interface in the list was skipped due to an error, the function would return a failure even though it completed successfully. This version also detects downed interfaces properly (turns out the API I was using before wasn't very accurate in reporting the real interface status).

https://github.com/cgutman/ShieldProxyWindows/releases

Maybe there could be a way to log information about the proxy running. I've looked at a lot of directories but can't find any logging info for winpcap or the shieldproxy.
All the logging I do is directly to the console window for now. I'm not sure if WinPcap does logging anywhere.
 

clayton006

New member
Apr 6, 2008
4
0
0
Thanks I'll try this out when I get home. I tried disabling my virtual box host only adapter but it could have been the other network card that had a cable unplugged on purpose causing the issue. Thanks agin for your quick response.
 

clayton006

New member
Apr 6, 2008
4
0
0
My work has a POD (personally owned device) wifi network and remote Shield streaming worked great! The Panera Bread close to me didn't work (blocked ports?). Overall I'm looking forward to more remote streaming.
 

DirtySnwBoarder

New member
Oct 25, 2013
2
0
0
Issues connecting

So I appear to be having some issues connecting. Everytime I attempt to launch Steam via the program I get "We haven't received any DNS responses. Is the Windows Shield Proxy running on your PC?". I can see the Windows program showing that it is relaying MDNS traffic and I can also connect to the PC on the tegra-zone, just not launch anything. I have triple verified my router ports, including that they were properly set to TCP or UDP. I run a static IP and seem to be connecting back so that likely isn't the issue either. I verified that the program was allowed on my Windows firewall for both public and private as well as just attempted it with the firewall disabled entirely. I am also using all the most recent updates of the software, but did attempt to use some previous versions to verify that it wasn't a new bug.... Any ideas? Thanks for the help!

Edit: At first it appeared that I was connecting to my PC in tegra zone, but on further review I noticed it hasn't connected in hours so it must just be saying connected and pulling previously stored information.

Edit/Edit: Okay so after some investigation it turns out my WNDR3700 Netgear router hated port tunneling. So I pushed DD-WRT onto it and that cleared up some of the issue. Now I see my PC as actually available and I can get connected and even launch steam, but I just get a blank screen on my Shield and no controls are being sent back to the computer. I can see steam launching on my PC and am currently testing this from home using a wifi hotspot from my 4G LTE smartphone. I will test again when I get to work tonight to see if it is any different there and update. This also happens with a PPTP VPN setup now too. Any help would be greatly appreciated.
 
Last edited:

DirtySnwBoarder

New member
Oct 25, 2013
2
0
0
Okay so I just got done testing it at work. Still the same issue persists. When I attempting to launch steam or any game from my shield while running the proxy it appears to work, PC launches Steam or the game, but Shield just ends up streaming a black screen. This appears to happen when attempting both a VPN stream or using the Proxy, so it may be something more related to me and my setup than anything else, but any help would be appreciated. I updated GFE to v.1.6.1.1 since that fixed some issues with black screens for people locally, but it did nothing for me. Just to clarify also I have no issues streaming normally at home within my own network. Thanks!
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone