I want to be able to remotely access the desktop of my Raspberry Pi 2, running Rasbian Full, from outside of my LAN network. I've been able to easily connect on my network, but I want to be able to access it when I'm not at home too. I am not able to port-forward or doing anything else requiring access to the router options or settings. I've seen some tutorials online but the ones I've found I seem to miss steps from place to place.
-
Have you checked out realvnc connect? it's pre-installed on Raspbian, you just need to create a free account.realvnc.com/en/raspberrypi– DirkCommented Oct 19, 2019 at 6:01
-
I have tried that and I got it to work locally, however the icon that other tutorials have mentioned is supposed to be on the task bar doesn't exist for me. I'm not able to connect my pi to my account so I can't connect to it from other computers then.– WatsonBoiCommented Oct 21, 2019 at 2:39
1 Answer
You are asking something like "I have a door with a lock but no key". Breaking the lock (using an exploit) I don't see as valid solution. I see mainly two solutions: purchase your own controllable router with internet access or use a reverse tunnel.
For direct connecting to the RasPi you need port forwarding. This can be done with your own router you can manage.
If this isn't an option you can use an encrypted ssh reverse tunnel. For this you need a third device on the internet with a static public ip address that you can connect from the internal RasPi. You can use a second RasPi or much easier you rent a very cheap virtual server on a provider (that's what I have done). Now you can permanently establish the reverse tunnel from the internal RasPi to the external third device. With its known public ip address you can connect from everywhere on the world to it. The reverse tunnel will redirect all traffic to the internal RasPi.