Posts: 2
Joined: Tue Jun 04, 2013 3:22 pm

Accessing VNC over the Internet

Tue Jun 04, 2013 3:30 pm

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?

Posts: 73
Joined: Wed May 30, 2012 1:15 pm

Re: Accessing VNC over the Internet

Wed Jun 05, 2013 6:00 am

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

Posts: 7891
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Accessing VNC over the Internet

Wed Jun 05, 2013 6:32 am

The number :1 refers to the VNC display , which maps
to port 5901 , :2 maps to 5902 etc.

• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere

Return to “Networking and servers”