Can you connect to a pc behind a router with tightvnc?

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
If so how please?

I already tried:

forwarding ports 5900 and ip address 192.168.0.2

and ports 5800 ip address 192.168.0.2
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
That should work fine.

That is what I do. When you connect, you have to use your external IP address along with the port you are using for TightVNC.

123.456.789.1:5900

If everything is set up properly, that should work.

If you do not have a static IP address, you may want to look in to one of they dynamic IP address name providers. I use No-IP

http://www.no-ip.com/

 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
When you say you have to use your external ip address which ip address are you talking about ?

The one the router gave m friends machine or the one the isp gave my friends machine?
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
Well, if your friend is using a router, it is the one that the ISP gave the router. It it is not static, it could chage each time he logs on. For that reason, I reccomend a dynamic DNS provider. Some routers support certain ones out of the box.

What router does your friend have?
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Originally posted by: TSDible
Well, if your friend is using a router, it is the one that the ISP gave the router. It it is not static, it could chage each time he logs on. For that reason, I reccomend a dynamic DNS provider. Some routers support certain ones out of the box.

What router does your friend have?

It worked before when my friend didn't have a router.

So I believe its a port problem but sense then I got a new router and I gave my friend my old router, 100 feet of Cat. 5 ethernet cable, and another small Cat. 5 wire all for free because I had no use for it. Better to give stuff a good home then just let it sit in your house. Not worth selling either because whats even the point? Like clean sweep says there right with giving stuff a better home where you know its going to be used and be put to good use.

 

MGMorden

Diamond Member
Jul 4, 2000
3,348
0
76
Just making sure: when you try to connect to his machine from yours, you're not typing in 192.168.0.2 for the IP are you?
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Originally posted by: MGMorden
Just making sure: when you try to connect to his machine from yours, you're not typing in 192.168.0.2 for the IP are you?

No my friend's real ip address in tightvnc

There is two machines connect to the router though but one is a pc and the other is a mac.

Trying to connect to the pc.
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
I want to make sure of something as well. When I forward the ports I put the ip address 192.168.0.2 for the forwarding ip address correct?
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
This is what you need to do.

1. Set up TightVNC to use a "Specific" port.
2. Map that port using the router to the machine that is running the VNC server. (ie 192.168.0.2)
3. Connect using the real IP address provided by the ISP AND the port you select.

For instance, if you used port 5900 and the real IP address is 123.456.789.1 you would connect to

123.456.789.1:5900
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Ok so 123.456.789.1:5900 like in your example would be the full ip address I use.

I know not the extact one but like that. Didn't know you had to do that. Strange how no one else knows this. I have a good feeling it will work fine like that. Thanks. I will let you know.


Do I ever have to turn off my outpost software firewall or anything on my linksys router on my end?
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
Originally posted by: imtim83
Ok so 123.456.789.1:5900 like in your example would be the full ip address I use.

I know not the extact one but like that. Didn't know you had to do that. Strange how no one else knows this. I have a good feeling it will work fine like that. Thanks. I will let you know.


Do I ever have to turn off my outpost software firewall or anything on my linksys router on my end?

I'm not sure... you may have to open up that port on your router as well, but I don't think so.

And yes, you have to include the port number at the end of the IP address separated by a :

Otherwise, the router on the other end won't know where to send the packets.

If your friend gets a dynamic provider from no-ip, then you would connect to that name : Port

so

friendname.no-ip.com:5900

This may be the best if the IP address changes often.

 

Carp1812

Member
Jul 16, 2003
184
0
0
Just to throw one other suggestion into the mix.... If you follow the aforementioned advice and it still doesn't work, try this: Type the IP address followed by 2 colons and the port number. From within TightVNC, I have to type 123.456.789.10::5900 to connect to a PC. Good luck.
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
Originally posted by: Carp1812
Just to throw one other suggestion into the mix.... If you follow the aforementioned advice and it still doesn't work, try this: Type the IP address followed by 2 colons and the port number. From within TightVNC, I have to type 123.456.789.10::5900 to connect to a PC. Good luck.

Interesting... I didn't know that.

personally, I use Ultr@VNC.

It is especially nice now with the encryption plug-in.
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Originally posted by: Carp1812
Just to throw one other suggestion into the mix.... If you follow the aforementioned advice and it still doesn't work, try this: Type the IP address followed by 2 colons and the port number. From within TightVNC, I have to type 123.456.789.10::5900 to connect to a PC. Good luck.

Interesting! Thank You as well!

 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Does anyone have a screenshot of the netgear RT314 main screen once you logon and the screenshot of the ports section where you can forward ports ? You can delete whatever is in the fields so I can't see it. It won't save it like that inless you save the changes of course.

The reason I am asking is it would be easier to explain it to someone on how to do it.

I looked on google's image search but couldn't find any current ones.
 

WyteWatt

Banned
Jun 8, 2001
6,255
0
0
Originally posted by: TSDible
This is what you need to do.

1. Set up TightVNC to use a "Specific" port.
2. Map that port using the router to the machine that is running the VNC server. (ie 192.168.0.2)
3. Connect using the real IP address provided by the ISP AND the port you select.

For instance, if you used port 5900 and the real IP address is 123.456.789.1 you would connect to

123.456.789.1:5900

Just want to make sure but when you say specific a port for tightvnc to use I told my friend how to do that but noticed as I was testing it out on my pc. Every time in the Current User Properties I click the ports circle click ok or apply it sets itself back to the display circle? Is this ok ? Should I change the display circle field that says 0 to anything? The ports still say 5900 and 5800 just grayed out it seems. Not sure whats up with that. I am thinking its does that on all pcs but not sure. Guessing its ok but wanted to make sure.

When you say map the port using the router machine that is running the VNC server are you talking about forwarding the port number?


 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
Originally posted by: imtim83
Originally posted by: TSDible
This is what you need to do.

1. Set up TightVNC to use a "Specific" port.
2. Map that port using the router to the machine that is running the VNC server. (ie 192.168.0.2)
3. Connect using the real IP address provided by the ISP AND the port you select.

For instance, if you used port 5900 and the real IP address is 123.456.789.1 you would connect to

123.456.789.1:5900

Just want to make sure but when you say specific a port for tightvnc to use I told my friend how to do that but noticed as I was testing it out on my pc. Every time in the Current User Properties I click the ports circle click ok or apply it sets itself back to the display circle? Is this ok ? Should I change the display circle field that says 0 to anything? The ports still say 5900 and 5800 just grayed out it seems. Not sure whats up with that. I am thinking its does that on all pcs but not sure. Guessing its ok but wanted to make sure.

When you say map the port using the router machine that is running the VNC server are you talking about forwarding the port number?


Most VNC programs default to port 5900. You should be able to tell tightVNC to always use a specific port. It might be good to do that since everyone knows VNC uses 5900.

Yes, when I talk about mapping the port, I simply mean to forward that port to your friends local IP address. ie... 192.168.0.1 or whatever he is using.