Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have 5 static public IP addresses. But we have a number of machines that we want to RDP into from home (our individual work pcs, a couple of servers, etc). Is there away to setup our router so that we can use 1 up address and route the RDP request to different machines based on port or something?

share|improve this question
add comment

3 Answers

up vote 10 down vote accepted

You could also setup a Terminal Server Gateway. It only needs 1 open port (443, aka HTTPS), requires users to authenticate to it before letting anyone know what machines are on/available or what software they might be running. This of course requires a server that supports Terminal Server Gateway (Server 2003, 2008, etc).

share|improve this answer
    
+1 - that is exactly the professional solution. VERY nice, i use it all the time. –  TomTom Nov 15 '10 at 21:27
    
Does that allow me to connect to windows 7 machines on the network or only servers? –  Micah Nov 16 '10 at 19:56
    
Almost any RDP Server can be connected to. I have personally used Windows 2000, XP, Vista, 7, Server 2003, 2008/R2. I've been told it also works for xRDP, but I haven't tried it myself. For the older OSes, you can't use NLA, just a configuration checkbox that needs to be unchecked. –  Chris S Nov 16 '10 at 20:18
    
BTW, I got this up and running and it's awesome! Thanks for the suggestion. I wish I could upvote this answer more than once. –  Micah Nov 23 '10 at 4:32
add comment

Sure you can! You need to change the RDP port on each machine, and port forward different ports to different computers.

To change the port number RDP listens on, edit the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber on each machine.

share|improve this answer
    
So I coulnd't set it up like this: 67.197.8.192:151 -> 192.168.151:3349 (default RDP port)? –  Micah Nov 15 '10 at 21:08
    
Based on the source port? It's unlikely, but some routers might allow it. –  fahadsadah Nov 15 '10 at 21:10
    
I think I get what you're saying. Basically with port forwarding i can only route to a different IP using the same port as the original request came in on. Correct? –  Micah Nov 15 '10 at 21:14
    
-1... for ignoring remote services gateway which allows exactly that without port changes. –  TomTom Nov 15 '10 at 21:27
    
Ah, I see what you mean. Some routers will allow a connection on an external port to be forwarded to a different internal port (Thomson Speedtouches jump to mind), but not many. What is your router? –  fahadsadah Nov 16 '10 at 15:27
add comment

An easy way is to have the firewall/router port forward various ports to different target machines. No fiddling with Windows ports or having to use a TS Gateway.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.