Any reason why I can't connect to another remote desktop?

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
Ok so here is the deal. I need to remotely access some computers at work.

They are behind a dsl NAT enabled modem and then behind a NAT router.

I have five machines, each with a static IP, each has been setup to use and allow remote desktop connections all using different ports (ie 3391, 3392, 3393, etc). On the DSL modem, all ports have been forwarded to the wan IP of the router and have been forwarded individually, ie forward all port 3391 requests to the WAN IP of NAT router, from there the router forwards the ports to their respective IP's.

So a remote desktop logon looks like this:

internetIPofRemotePC:339x


So here is the problem, I can only connect remotely to one computer (it's the first one), when trying to connect to the other machines I get an unable to connect error. All settings are the same on each computer.

If it matters, the dsl modem is a netopia 3500 and the router is a linksyswrt51ag (it's garbage).



I can however connect to each computer locally when connected to the lan. So that tells me that remote desktop is working properly but either the router or the modem is configured incorrectly.

Any ideas?
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,553
430
126
If you do not have a good reason for double NAT, and second Router is just for having Wireless capability, then reconfigure the second Router as an Access Point with a Switch.

Link to: Using a Wireless Cable/DSL Router as a Switch with an Access Point

Otherwise, if you do need the double NAT, in the first Router open all the RDT ports (339x) that you use directed toward the WAN IP of the second Router.

In the second Router, open the ports for the specific IP of each computer.

Log on would be: External Internet IP:339x

:sun:
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
I you do not have a good reason for double NAT, and second Router is just for having Wireless capability, then reconfigure the second Router as an Access Point with a Switch.

Link to: Using a Wireless Cable/DSL Router as a Switch with an Access Point

Otherwise, if you do need the double NAT, in the first Router open all the RDT ports (339x) that you use directed toward the WAN IP of the second Router.

In the second Router, open the ports for the specific IP of each computer.

Log on would be: External Internet IP:339x


I prefer not to have a double nat setup and that's what's throwing me off.

On the first router it asks for these inputs:

Name: Remote desktop
External port start: 3390
External port end: 3395
Forwarded to: WAN IP of second router
Internal port: I don't know what to put here?


That last input is what throws me off because I want all those ports to be forwarded so that when the second router gets them it will still see the individual port numbers but if I specify an internal port wouldn't that info be lost?
 

Zstream

Diamond Member
Oct 24, 2005
3,395
277
136
Originally posted by: ivwshane
I you do not have a good reason for double NAT, and second Router is just for having Wireless capability, then reconfigure the second Router as an Access Point with a Switch.

Link to: Using a Wireless Cable/DSL Router as a Switch with an Access Point

Otherwise, if you do need the double NAT, in the first Router open all the RDT ports (339x) that you use directed toward the WAN IP of the second Router.

In the second Router, open the ports for the specific IP of each computer.

Log on would be: External Internet IP:339x


I prefer not to have a double nat setup and that's what's throwing me off.

On the first router it asks for these inputs:

Name: Remote desktop
External port start: 3390
External port end: 3395
Forwarded to: WAN IP of second router
Internal port: I don't know what to put here?


That last input is what throws me off because I want all those ports to be forwarded so that when the second router gets them it will still see the individual port numbers but if I specify an internal port wouldn't that info be lost?

quick solution, use VNC :)

http://ultravnc.sourceforge.net/
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
Anyone?

I've removed the linksys and replaced it with a hub and have the same issue. I've also put the netopia router into bridge mode and put the linksys back on, same deal.

To recap:

I can connect to every pc from every pc on the lan. From the internet I can only connect to one pc on the lan. All lan pc's have unique rdp ports and have been forwarded to the correct lan ips.
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
netstat shows all the ports are listening.

Canyouseeme.org only sees one of my ports as being open.

This leads me to believe that the dsl modem is the culprit but I don't understand why it would be blocking all rdp ports except one...
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
I've formatted one of the non working machines and now I can connect to the original working system and the newly formatted system using their customer RDP ports.

I'm installing service pack 2 now and I really hope it doesn't break it again.
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
After rebooting the service pack 2 update I can no longer connect to the machine:(

Hopefully tomorrow when I'm physically at the machine I find that it's just a simple fix.


Anyone know if after you upgrade to service pack 2 if windows firewall is on by default or if it changes back the customer rdp port back to the default one?
 

ivwshane

Lifer
May 15, 2000
33,551
17,074
136
So it turns out it was definitely windows. After re-disabling windows firewall I can connect to the new machine and the old one. I guess I'll have to reformat the other machines because I have no idea what else, software wise could be causing the problem. Since I wasn't the one who originally installed windows it's probably better that I reinstall just so I know what's going on.