[SWLUG] VNC across the 'net.

Keith Edmunds keith at midnighthax.com
Wed Sep 13 06:55:22 UTC 2006


On 09/12/2006 8:42:14 PM +0100
Andrew Jenkins <andrew.jenkins at bigfoot.com> said:

> vncviewer 10.0.0.9:1
> 
> to connect successfully. However what IP address should I
> use if trying to connect to a VNCserver elsewhere?

If the machine elsewhere is behind a NAT firewall, you'll need to
arrange port forwarding. In more detail: many ADSL routers have a public
address to connect to the Internet, but use a private ("RFC1918")
address space for the LAN. This is often starts "192.168...". The
problem is that you cannot use that 192 address directly over the
Internet. The fix is to arrange for port forwarding (it goes by other
names too: DNAT, "services", etc) on the ADSL router such that incoming
connections from the Internet to port 5900 are forwarded to the same
port number on the target machine. Note: the first VNC connection uses
port 5900 by default but this can be changed.

Keith



More information about the Swlug mailing list