Solved

Can TightVNC connect through a dsl router

Posted on 2004-10-18
11
1,098 Views
Last Modified: 2013-11-30
If I have a pc running tightvnc in server mode behind a dlink wireless router and the routeris connected to a dsl modem or a cable modem. Can I conneect to that pc from another location on the internet? Can you have more than one pc running tightvnc connected to the same router? If you can how does the router know which pc/address you are trying to connect to?
Thanks
WHIWEX
0
Comment
Question by:whiwex
  • 6
  • 4
11 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 12337992
Running VNC through routers/Firewalls

If you are on the CONTROLLING computer and are behind a router you will need to open port 5900 TO the IP address of the CONTROLLED PC. (this is usually the external IP address of the router at the CONTROLLED end)

You will need to set the router at the CONTROLLED end to forward port 5900 traffic to the CONTROLLED IP address).

NB. VNC web traffic travels over ports 5800 to 5900

Why the different numbers?

VNC installs a mini web server that listens on ports 5800 to 5900, it does this because, if you need to control multiple PCs you can set so that the last two digits of the port number become the DISPLAY number (client number)

for example

machine 1 = 0 (that's port 5800) to connect type http://<public IP address>:5800
machine 2 = 1 (that's port 5801) to connect type http://<public IP address>:5801

Obviously at the CONTROLLED end the router/firewall must be set up to forward port 5800 to machine 1's IP address etc.

Why port 5900 then?

The APPLICATION uses this port


*****Links*****

Download RealVNC
http://www.realvnc.com/

Download TightVNC
http://www.tightvnc.com/

Connecting over the web Java VNC Viewer
http://www.realvnc.com/javavncviewer.html
0
 
LVL 3

Expert Comment

by:Felix2000
ID: 12340002
Once you map your ports correctly look at ultravnc.sourceforge.net  UltraVnc gives you more features like file transfer and ability to map one port to serveral machines.

-= Felix =-
0
 

Author Comment

by:whiwex
ID: 12340275
Pete
If my pc is making the connection to a remote pc am I the controlling pc and the remote pc is the controlled pc?
If this is the case then on my router I don't need to change anything but on the remote router I need to open port 5900 to my ip address. Is this correct?
Thanks
WHIWEX
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 12340309
yes - though unless youve got a really good cisco router you just need to FORWARD port 5900
0
 

Author Comment

by:whiwex
ID: 12349464
I have a linksys wrt54g router. I go into applications and games and add ports 5800 to 6000. But I can't change the IP address to the address of the pc thats trying to connect. I can only change it to the address that I will allow a connection to. Is this correct?
Thanks
WHIWEX
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12349600
yes thats correct, I have the same router :) - also make sure youve upgraded the firmware the new version is a lot better
0
 

Author Comment

by:whiwex
ID: 12350637
I can't connect from the remote router. I can connect accross my lan but not across the internet.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12360191
Is the router on the latest firmware?
0
 

Author Comment

by:whiwex
ID: 12366054
I'll check the frimware. I'm not sure my IP address is being router by my isp.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12367147
OK - to find your IP go to http://www.whatismyip.com/
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12480792
ThanQ
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question