Page 1 of 1

Accessing VNC over the Internet

Posted: Tue Jun 04, 2013 3:30 pm
by adamomg
As I understand it, you have to tunnel over SSH to get VNC working from outside of your local network.

I have followed the steps from a previous topic ( ... 63&t=24378) but I am unable to get it to work. That and the user that was requesting help didn't seem to be using a default setup.

I have a default setup of tightvnc installed on my Raspberry Pi - Model B following these directions: http://myraspberrypiexperience.blogspot ... p-vnc.html

SSH is working
VNC is working on my Raspberry Pi on my local network using

I have DD-WRT on my router. I have port forwarded my other Windows systems to be accessed over the internet through VNC so the router isn't the issue.

Can someone point me in the right direction?

Re: Accessing VNC over the Internet

Posted: Wed Jun 05, 2013 6:00 am
by Piminiuser
Basic setup.

Install VNC server on Raspberry pi
VNC Port forward on your router/modem: Your tutorial uses port "1"? Forward port 1 to your raspberry pi internal IP adres (
Start port: 1
End port: 1
Protocol: Both for the first time, i dont know VNC use TCP or UDP for default.
Ip adress: INTERNAL ip adres of your raspberry pi

Then go to -> And copy your ip adres(PUBLIC) ip adres. your should connect now to EXTERNALIPADRES:1

I also made a own VNC tutorial: ... vnc-server

Re: Accessing VNC over the Internet

Posted: Wed Jun 05, 2013 6:32 am
by ghans
The number :1 refers to the VNC display , which maps
to port 5901 , :2 maps to 5902 etc.