Remote Desktop NAT Questions

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
My friend wants to be able to access his work computer from home and I suggested using Remote Desktop. At his work, he has only 4 PC's running off one router with DSL access. My question is, how can two workers both access their respective PC's from their homes. RDP uses port 3389, but I can only forward this to one machine, so what is the solution? Maybe the answer is simple, I am just lost though!
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
I think some routers offer "port translation" (I'm not sure, I always use iptables for this) so you can go from Outisideip:3389->InsidePC1:3389, outsideip:33891->insidepc2:3389

so that you don't have to edit the registry to change the RDP port (although why it's that buried, I don't know)

I do this for security purposes anyway. Somone has to do a very high port scan on my box to find any open ports except http
 

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
Thank you so much man, I am going to try it out on my home network right now!
 

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
Jack, I tried to get it to work but its not going through. My parents computer is 192.168.1.103 and my computer is 192.168.1.100

I edited the registry on their computer so RD listens on port 3390 and I also forwarded that port to their IP. Using my computer I tried to RD into 192.168.103:3390 and also myexternalip:3390 and neither worked.

The error it gives is:

The client could not connect to the remote computer.
Remote connections might not be enabled or the computer might be too busy to accept new connections.
It is also possible that network problems are preventing your connection.

Nobody is logged into their computer so it cant be busy. Any ideas?

Update: Even though I changed the registry entry on my parents PC, RD is still using port 3389 because when I forward 3389 to their IP it connects perfectly.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
did it work before you edited the registry? (local connection)
did you reboot after editing the registry?
 

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
No I didnt reboot my parents pc after editing the registry, let me try that. thank you nweaver

Update: Reboot did not help, still cant connect

I dont get why RD is still listening on port 3389 on my parents PC even though I changed the registry key. And nweaver, I was just forwarding port 3389 to my parents PC before, so yes it worked. I want 3389 to be forwarded to my PC and 3390 to my parents PC.
 

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
Ok now this is weird, or maybe not I dont know anymore.

When I type 192.168.1.103:3390 or myip:3390 the connection fails. However when I type pcname:3390 it connects fine.

Update:
Ok after accessing my parents PC using the pcname:3390 method, now everything else works!! 192.168.103:3390 and myip:3390 also work!! I dont know why, I just hope I can get my friends connetion setup right!

Thank you both for all your help!
 

RebateMonger

Elite Member
Dec 24, 2005
11,588
0
0
If your friend ever puts a server in place at the office, he'll find that MS Small Business Server 2003 has remote access that automatically does all this for you. You get a screen called "Remote Web Workplace" that lists all the PCs and Servers in the office and lets you choose which one to connect to. It works its magic through TCP Port 4125 and keeps that port closed until you pre-authenticate to a secure web site on port 443.
 

Shooks

Golden Member
Jun 19, 2001
1,428
0
76
good to know RMonger, I will let him know. Right now his business is pretty small and they dont have a need for a server, but they are slowly growing and will eventually, thanks for the heads up!
 

RebateMonger

Elite Member
Dec 24, 2005
11,588
0
0
Originally posted by: Shooks
good to know RMonger, I will let him know. Right now his business is pretty small and they dont have a need for a server, but they are slowly growing and will eventually, thanks for the heads up!
I manage an MD's office, with four servers and 30+ client PCs. And NO SBS Server! It's a pain. To set up remote access on all those PCs, I'd have to do a bunch of router programming and registry edits. I'd have to use all manual (Static) IP addresses. Plus, each person would have to know the Remote Desktop port for their PC.

With SBS, it's all done for you. You can use DHCP inside the office. And its version of Remote Desktop circumvents any possibility of "Man-in-the-middle" attack (unlike the standard Remote Desktop, which requires a VPN envelope to defend against MITM).
 

Superartus

Senior member
May 27, 2004
283
0
0
Originally posted by: RebateMonger
I manage an MD's office, with four servers and 30+ client PCs. And NO SBS Server! It's a pain.

So your using a workgroup? I mean since you don't have sbs server are you saying you don't have sbs and not using AD or just don't have sbs but using w2k3 server?
 

RebateMonger

Elite Member
Dec 24, 2005
11,588
0
0
Originally posted by: Superartus
So your using a workgroup? I mean since you don't have sbs server are you saying you don't have sbs and not using AD or just don't have sbs but using w2k3 server?
I'm saying that one of my clients has four Windows 2003 Servers, Active Directory, but no SBS Server. It makes my job (managing their network) MUCH more difficult. I'm going to have to figure out a good remote access strategy for me and for them. Right now, they can't remote into the office at all, except via (somewhat risky) VPN.

Their non-SBS site costs them a LOT more for me to manage than my other sites that have SBS as the root Domain Controller. And, even with four Servers, they have few of the useful business and management tools that come with one SBS Server.
 

ivwshane

Lifer
May 15, 2000
32,229
14,928
136
Originally posted by: RebateMonger
Originally posted by: Superartus
So your using a workgroup? I mean since you don't have sbs server are you saying you don't have sbs and not using AD or just don't have sbs but using w2k3 server?
I'm saying that one of my clients has four Windows 2003 Servers, Active Directory, but no SBS Server. It makes my job (managing their network) MUCH more difficult. I'm going to have to figure out a good remote access strategy for me and for them. Right now, they can't remote into the office at all, except via (somewhat risky) VPN.

Their non-SBS site costs them a LOT more for me to manage than my other sites that have SBS as the root Domain Controller. And, even with four Servers, they have few of the useful business and management tools that come with one SBS Server.


So why not do like nweaver said, leave the standard rdp port alone on the pc's (meaning don't do any regedits) and just setup port forwarding on the router? That way you only have one thing to edit.
 

netsysadmin

Senior member
Feb 17, 2002
458
0
0
RebateMonger....Why are you calling the VPN risky?

John

Originally posted by: RebateMonger
I'm saying that one of my clients has four Windows 2003 Servers, Active Directory, but no SBS Server. It makes my job (managing their network) MUCH more difficult. I'm going to have to figure out a good remote access strategy for me and for them. Right now, they can't remote into the office at all, except via (somewhat risky) VPN.

Their non-SBS site costs them a LOT more for me to manage than my other sites that have SBS as the root Domain Controller. And, even with four Servers, they have few of the useful business and management tools that come with one SBS Server.[/quote]

 

RebateMonger

Elite Member
Dec 24, 2005
11,588
0
0
Originally posted by: netsysadmin
RebateMonger....Why are you calling the VPN risky?
I consider VPNs "riskier" than Remote Desktop because a VPN, by definition, puts "foreign" computers directly onto the Office network. It's pretty tough to infect an office network using Remote Desktop, but a VPN puts the remote PC directly "inside" the office network, making it much easier to transfer worms or steal information if the remote PC has been trojan'ed.

If the remote PC is owned by the Company, is locked down via Group Policy, and if the User doesn't have Local Administrator Priviliges, then this presents a minimal risk. But I've seen far too many laptops and home PCs that are shared with family and I certainly wouldn't want them to VPN into any network that I was responsible for. Additionally, split Gateways are a pretty common solution for giving Internet access to VPN'd PCs. That's another problem....It's MUCH safer for most Users to Remote Desktop in.
 

wpeng

Senior member
Aug 10, 2000
368
0
0
Why can't you use your true ip? Go to whatismyip.com and use that ip address.