Solved

I need to know how to connect to a VNC server that is behind a router or firewall, with a VNC client

Posted on 2007-03-24
10
452 Views
Last Modified: 2013-11-30
I need to know how to connect with a VNC Client,  t to a XP box that is behind a router or firewall, with a VNC server running on it (UltraVNC for now).  I have been able to connect successfully to any box with a static IP with VNC server, but need to know how to configure and make this work with a XP box that is behind a router or firewall, and that has a internal IP like 192.168.1.23(Obtaining IP).                         I need to know how to connect to a VNC server that is behind a router or firewall, with a VNC client
0
Comment
Question by:avbmiket
10 Comments
 
LVL 32

Accepted Solution

by:
Luc Franken earned 500 total points
ID: 18786390
Hello avbmiket,

In VNC, you can set the IP address to listen to, by default this is port 5900.
By forwarding this port to the host you want to connect to on the used router you can still use VNC.
How to forward ports for realVNC can be seen through http://www.portforward.com/english/applications/port_forwarding/RealVNC/RealVNCindex.htm Just select the router you're using and you'll get step-by-step instructions.

Regards,

LucF
0
 
LVL 32

Expert Comment

by:Luc Franken
ID: 18786400
avbmiket,

I misread your question, for UltraVNC, please visit http://www.portforward.com/english/applications/port_forwarding/UltraVNC/UltraVNCindex.htm, the default port is still the same though. The explanation is just more clear.

LucF
0
 
LVL 5

Expert Comment

by:Computerguy107
ID: 18786970
It sounds to me like you would be a good canidate for Single Click VNC. The client inititates the connection to your server. Single click VNC server uses port 5500 by default. Set your router to forward port 5500 to your VNC server. There is a small program you setup for your clients to download and then connect to your server.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 6

Expert Comment

by:kane77573
ID: 18817253
VNC port by default is port 5900
not 5500

The standard VNC Display numbers, 0-99, correspond to TCP ports 5900-5999. VNC Server will accept connections on port number 5900 by default, which equates to VNC display number 0 (zero). The port number for VNC Server to use can be set to any other available port number, even ones outside the 5900-5999 range.


Basically just DMZ the pc out that you wanna connect to or setup port fowarding on your router to hit 5900 and redirect it to the lan Pc with VNC running.
Also use vnc 4.1.2, anything below that and you can get hacked, i've seen and tested the exploit myself,
http://www.realvnc.com/products/free/4.1/download.html
0
 
LVL 3

Expert Comment

by:yours_harjeet
ID: 18835533
try hamachi(www.hamachi.cc) and then ips given by it to connect
0
 
LVL 5

Expert Comment

by:Computerguy107
ID: 18836745
Hi Kane...

I was referring to Single Click click VNC and not VNC. If you would like more information on Single Click VNC you may want to look it up.
0
 
LVL 32

Expert Comment

by:Luc Franken
ID: 18969668
rindi,

Take your pick, I think my comment solved avbmiket's comment without any problems. He/she might have gone for another option. Even though I never used it myself and honestly don't know how it works as I tend to use other solutions myself, http:#18786970 could give a solution with "Single click VNC", another explanation on how VNC works was posted at http:#18817253
I would leave out http:#18835533, it was a terrific suggestion, but not for the question asked. Hamachi is a very firewall friendly VPN client, but should not be used in combination with VNC or RDP as it'll slow down things to a crawl.

As I tried to say by my first three words; it's up to you to decide which comments you think might be the best in answering this question. I'm just giving my oppinion on all comments an mean no disrespect to any of them.

LucF
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel file not created as expected 7 71
Win 7 PCs cant connect to RDS server , but Win 10 can 21 88
Delphi: barcode reading on android platform 1 28
Math Equation 23 83
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Let’s list some of the technologies that enable smooth teleworking. 
This video teaches viewers about errors in exception handling.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

776 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