Need help with remote desktop

jpthomas

Senior member
Jul 16, 2004
298
0
0
I'm having some problems with remote desktop. I've checked the remote desktop box in Control Panel\System, and have forwarded all applicable ports to the host computer (which is 192.168.0.2 through my router). However, I can't connect because for some reason, all the computers attached to my router have the same ip address. I verified this by visiting whatsmyip.org from both computers and they have the same ip.

I am using a netgear mr814v2 router and have a cable internet connection. How do I get my router to assign different ips to all the computers on my network?

The ip that is showing is 68.66.xxx.xxx, which is different than the 192.168.0.1 that I use to access the router.

Thanks for the help.
 

volrath

Senior member
Feb 26, 2004
451
0
0
I don't think those links are really useful. The ROUTER has an ip of 68.66.x.x. It translates that into local IPs, which do not exist on the internet. Only in your lan. Those are 192.168.0.1 for the router, and 192.168.0.x for each of your computers. Start>Run>cmd, ipconfig to find it.

You need to have the router forward the port to an ip starting with 192.168.0.x.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: jpthomas
I'm having some problems with remote desktop. I've checked the remote desktop box in Control Panel\System, and have forwarded all applicable ports to the host computer (which is 192.168.0.2 through my router). However, I can't connect because for some reason, all the computers attached to my router have the same ip address. I verified this by visiting whatsmyip.org from both computers and they have the same ip. I am using a netgear mr814v2 router and have a cable internet connection. How do I get my router to assign different ips to all the computers on my network? The ip that is showing is 68.66.xxx.xxx, which is different than the 192.168.0.1 that I use to access the router. Thanks for the help.

Unless your paying your cable company for extra ip's and you have a router which supports it (neither of which is true, I believe in this case) then you only have only have one public IP to which to work from. That ip is the one you got from whatismyip.org (and it's likely to change occasionally so you might want a dynamic dns service so you can find your systems when your away from the house).

Since you have multiple systems behind the box, as you've surmised, you have to choose which one you forward 3389 (the RDP port) to. However, you can forward a different port to each system and then use that port when you connect remotely. For example on your router forward:

Port 60000 -> 192.168.0.2 port 3389 (machine 1)
Port 60001 -> 192.168.0.3 port 3389 (machine 2)
and so on.

Then when you connect remotely use the ip from whatismyip.org but then use port 60000 to connect to machine 1, 600001 to connect to machine 2, and so on.

In the terminal services connection, use the ip : port number (e.g. 1.1.1.1:60000) to connect on an alternate port. If you leave off the :port it will default to 3389

Bill

 

jpthomas

Senior member
Jul 16, 2004
298
0
0
Originally posted by: volrath
I don't think those links are really useful. The ROUTER has an ip of 68.66.x.x. It translates that into local IPs, which do not exist on the internet. Only in your lan. Those are 192.168.0.1 for the router, and 192.168.0.x for each of your computers. Start>Run>cmd, ipconfig to find it.

You need to have the router forward the port to an ip starting with 192.168.0.x.

I know. My router has assigned 192.168.0.2 to the desktop I would like to connect to, so I forwarded both port 3389 and port 80 (for web connection) to that local ip.

Originally posted by: bsobel
Unless your paying your cable company for extra ip's and you have a router which supports it (neither of which is true, I believe in this case) then you only have only have one public IP to which to work from. That ip is the one you got from whatismyip.org (and it's likely to change occasionally so you might want a dynamic dns service so you can find your systems when your away from the house).

Since you have multiple systems behind the box, as you've surmised, you have to choose which one you forward 3389 (the RDP port) to. However, you can forward a different port to each system and then use that port when you connect remotely. For example on your router forward:

Port 60000 -> 192.168.0.2 port 3389 (machine 1)
Port 60001 -> 192.168.0.3 port 3389 (machine 2)
and so on.

This is the problem I am having. The cable company has only assigned me one public IP, so the same ip shows up for the router as well as all the pc's connected to it. Can you clarify how to forward port 6000 to the local ip of my machine?

In my router setup, I have port 3389 forwarded to the ip of 192.168.0.2. But I don't see any options in the router that would allow me to forward port 6000 to 192.168.0.2 port 3389. Or am I misunderstanding you?

Thanks for the help.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,563
432
126
I doubt that you would solve the problem without getting some more Education about Networks.

whatsmyip.org is showing you the External IP which is the IP assign to you by the ISP and it is the IP of your Router?s WAN side.

Read this about IPs.

Link to: How Do I Find my IP and MAC Numbers?

Link to: Using IPCONFIG Command Line Utility, and or Winipcfg (Wntipcfg) GUI Utility to find Local Network Info (IP, MAC).

On the LAN side a port can be opened only to one computer. It has to be opened trough the Router and Software Firewall (if you have one)

This is about port opening: Cable/DSL Routers - NAT &amp; Ports.

Since a port can be open only to one IP (computer) if a person wants to differentiate between LAN computers that are behind a Router there is a need for special ports assignment. There are few ways to do so. One is described above by bsobel another one is described at the end of the Ulrt@VNC page that I liked above.

:sun:
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
In my router setup, I have port 3389 forwarded to the ip of 192.168.0.2. But I don't see any options in the router that would allow me to forward port 6000 to 192.168.0.2 port 3389. Or am I misunderstanding you?

Many routers allow you to map the port, e.g. you can specify a different external one (the one the router answers on) vs the internal one (the one the router will forward the request to). Can you post a screen shot of the page where you setup the current forwarding, that will help determine if your router can do this or not.

Bill
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,563
432
126
In my Router it loos like this:

Enable__Description__Inbound port__Type___Private IP address___Private port

__v______VNC_______60000______ TCP_____192.168.0.100______3389

__v______VNC_______60001______ TCP_____192.168.0.101______3389


When I am on the Road.

Typing "http://68.173.322.456:60000"

Takes me to the computer that its IP is 192.168.0.100

Typing "http://68.173.322.456:60001"

Takes me to the computer that its IP is 192.168.0.101


http://68.173.322.456 is the External IP number.


:sun:
 

jpthomas

Senior member
Jul 16, 2004
298
0
0
Originally posted by: bsobel
In my router setup, I have port 3389 forwarded to the ip of 192.168.0.2. But I don't see any options in the router that would allow me to forward port 6000 to 192.168.0.2 port 3389. Or am I misunderstanding you?

Many routers allow you to map the port, e.g. you can specify a different external one (the one the router answers on) vs the internal one (the one the router will forward the request to). Can you post a screen shot of the page where you setup the current forwarding, that will help determine if your router can do this or not.

Bill


I was going to take a screenie and host it, but found this link which serves the same purpose and is quicker.

Link

Let me know if you need screenshots of any of the other submenus. At this point I'm thinking that my router can't handle this particular task.

Thanks for the help everyone.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Yep, looks like your router doesn't support it. But your not sunk yet. if you look at this KB article it will show how to change the RDP (remote desktop) port on the target machine itself.

So, same idea, go in and forward say 60000 to machine one, and 60001 to machine 2 and then go configure (per the above) each machine to listen on the appropriate port.

Bill
 

martind1

Senior member
Jul 3, 2003
777
0
0
Originally posted by: jpthomas


I was going to take a screenie and host it, but found this link which serves the same purpose and is quicker.

Link

Let me know if you need screenshots of any of the other submenus. At this point I'm thinking that my router can't handle this particular task.

Thanks for the help everyone.



actually according to that screen shot, I would say you can forward these ports.

"Add Custom Service"

I bet it will then ask you for a service name, a start port, a end port, and the ip address it resides on.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
actually according to that screen shot, I would say you can forward these ports.
"Add Custom Service"
I bet it will then ask you for a service name, a start port, a end port, and the ip address it resides on.

Not sure where you see that, the definition of 'Add Custom Service' says:

If the service you want to add was not in the service and game drop down box, click Add Custom Service. On this menu you can list a range of ports. Lets do that now. The lowest port number should go into the Start Port box. If you only want to add one port specify the port number twice. Once in the Start port number box, and again in the End port number box. If you are unsure of the port ranges check the Ports list page or the software manufacture's homepage. Now enter the ip address you want to forward these ports to in the Server IP Address box. Type a name for the service, and then click apply.


Which does not mention editing the destination port. Since he already had to use that UI to add the RDP service and already said he didn't see the destination port, I believe it's not there.

Bill
 

martind1

Senior member
Jul 3, 2003
777
0
0
"ok, if you cant change the destination port, than it will only work for one of this computers.

unless of course you can change the port RD listens too. I don't knwo if you can or cannot, never tried."


ok i take it back, I re-read the posts, i missed one by the OP.

if there is no option to give a destination port than its not this simple.


does xp have a port forwarding in its firewall?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
unless of course you can change the port RD listens too. I don't knwo if you can or cannot, never tried."

I already covered how to do this a few posts back.
Bill
 

martind1

Senior member
Jul 3, 2003
777
0
0
yep, i see it now. it was the link that threw me off (i hadn't gone to it). You'd think theyd just have a nice option.


you should be all set now jpthomas.