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
455 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:
LucF 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:LucF
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:LucF
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

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Computer running slow? Taking forever to open a folder, documents, or any programs that you didn't have an issue with before? Here are a few steps to help speed it up. The programs mentioned below ALL have free versions, you can buy them if you w…
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

830 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