• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

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

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
Mike Treat
Asked:
Mike Treat
1 Solution
 
LucFEMEA Server EngineerCommented:
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
 
LucFEMEA Server EngineerCommented:
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
 
Computerguy107Commented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
kane77573Commented:
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
 
yours_harjeetCommented:
try hamachi(www.hamachi.cc) and then ips given by it to connect
0
 
Computerguy107Commented:
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
 
LucFEMEA Server EngineerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now