Solved

Can TightVNC connect through a dsl router

Posted on 2004-10-18
11
1,091 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
 
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now