Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-27-2006, 01:25 AM   #1 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Talking Help with VNC

Okay, I have two computers on my little home network that I need to make available to the outside world with VNC. I have VNC working perfectly on bother computers (I can connect to both of them from all three computers), but I can't seem to get it to work for either when I'm at work. Here are my questions:

1. VNC uses several ports, so that means I need to forward them to what computer I want to connect to, but how do I setup two computers, and still use both ports? Or am I misunderstanding how that works ...

2. I have the domain dcs2.net registered, and I have http://bt0.dcs2.net and http://bt1.dcs2.net forwarded to both my Linux boxes for the Azureus webs interface, could I do the same, 'cept something like http://vnc0.dcs2.net and http://vnc1.dcs2.net ... or do I need to put the actual IP address in? I have a dynamic IP, but no-ip.com has this utiliy I run that will update the web redirects with my new IP address in the event that it changes.

3. xtightvnc is really featureless, could someone recommend a better VNC viewer for Linux?

Thanks
The General is offline  
Old 09-27-2006, 09:59 AM   #2 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,236

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default

If you have more than one computer behind your router, you will need to assign each one a different external port. For example, if you want to access computers A and B, which are behind the same router, you could configure your router to forward port 5900 to A:5900 and port 5901 to B:5900. Some routers do not allow the external and internal port numbers to be different; in this case you would have to reconfigure the VNC Server running on B to accept connections on port 5901 and configure your router to forward port 5901 to B:5901.

From outside your LAN, you can connect to A using router-ip:0 (or just router-ip) and to B using router-ip:1, where router-ip is the IP address of your router, as determined in the previous section.
__________________
Osiris is online now  
Old 09-27-2006, 10:10 AM   #3 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default

1) You have to use two different ports.

So if you have 2 VNC server, and default ports for VNC server is 5900?

You just use 5901 for one of the VNC server and forward that port to it's IP address, then you use another port like say 5902 and forward that port to the IP address of the second VNC server (which you have to change it's default port that correspond with the x server to 5902 ).

So when you're at work, on your vnc viewer just enter your public IP follow by the port and it'll direct it to the right computer.

2)You could do that, but I think VNC doesn't use port 80, I think it uses java so you have to append the port at the end, you can use both name and IP. Usually if I wanted to connect to my VNC server I would use an IP address following the default port http://public ip:5800

5800 would be the default port for java on VNC.

If you only have 1 IP, you'll have to append the port because the web broswer will think it's going to connect to port 80.

3)Not sure for I never used anything beside the VNC viewer for Windows and Krdc on KDE.
Law is offline  
Old 09-27-2006, 10:10 AM   #4 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default

LOL Warez beat me to that part.
Law is offline  
Old 09-27-2006, 11:14 AM   #5 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

Oh, okay, I was under the impression that VNC used a range of ports and I wasn't exactly sure how I could append the port to a web redirect if it was a range of ports (something like 123.123.123.123:5800-5900) but yeah I guess not. I have web redirects setup with no-ip.com, so I would set vnc0.dcs2.net to redirect to 123.123.123.123:5900 and the next to :5901. It's a nice site for people who want to run webservers, but their ISP's have port 80 blocked.

I'll try Krdc and snoop around Google for others, just wondering if you had any favorites.

Thanks for the help. :classic:
The General is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On