Tuesday, January 17, 2012

Remote Desktop Protocol (Rdp) Port Forwarding

One thing that I love about all news windows products is the remote desktop features. I previously used Pcanywhere but I find that remote desktop is now practically as good, would like to see a file transfer like Pcanywhere has, but remote desktop is free so that is a plus for it.

One of the tasks that I face with my network setup is forwarding ports through my router. There are two issues that I came across when dealing with the Rdp forwarding. The first was what is the port estimate of Rdp. With a quick search on Google I found that the thorough Rdp port is 3389.

Now that you have the port estimate you can simply go into your router and send that port through and after enabling your remote desktop highlight it will work from face your network as long as you whether know your Ip address or have a dynamic dns service like I use. To enable remote desktop in Windows Xp and Windows 2003 go to the start menu, find the my computer icon and right click on it. select the properties option in the drop down list and then click on the remote tag in the window that appears. There you will see the two check boxes, check the second box, and then click on the remote user button. Make sure that the users you want to have entrance are in the list and then click ok until you have exitted all of the windows. Rdp is now enabled on your machine.

So this uncomplicated setup would have worked for my network but the issue then became I have several servers that I want entrance to along with my desktop. Now I could just remote to my desktop and then remote to the other machines from there since they are all on the local network. This would generate a lot of data that needed to be transferred though, with petite upstream speeds on your broadband connection you don't want this, and will cause performance issues with Rdp. So I had two options, I could turn the registry entry like was stated in the article. I will paste that fix here just in case that page has an issue at some point:

*****
Warning: If you use Registry Editor incorrectly, you may cause serious problems that may need you to reinstall your operating system. Microsoft cannot certify that you can solve problems that ensue from using Registry Editor incorrectly. Use Registry Editor at your own risk.

You can use the Remote Desktop highlight in Windows Xp professional to associate to your computer from another, remote computer. Warning: The Remote assistance highlight in Windows Xp may not work properly if you turn the listening port. To turn the port that Remote Desktop listens on:

Start Registry Editor (Regedt32.exe).

Locate the following key in the registry:

Hkey_Local_MachinesystemCurrentControlSetControlTerminalServerWinStationsRdp-TcpPortNumber

On the Edit menu, click Modify, click Decimal, type the new port number, and then click Ok.
Quit Registry Editor.

Note: When you try to associate to this computer by using the Remote Desktop connection, you must type the new port.

Keywords: kbhowto kbnetwork Kb306759

Technology: kbrdcMac100 kbrdcsearch kbrdcWin100 kbWinXppro kbWinXppro64bit kbWinXpproSearch kbWinXpsearch kbZnotKeyword

*****

The other option I had was to go into my router and specify another external port estimate and then point that port to the 3398 on the Ip address of the engine I wanted to go to. I chose this second option as it was less time moving and did the trick for me. One moving thing about the capability to turn the port estimate of Rdp is security. If you leave the thorough port estimate then anyone will know to check that port to see if you have Remote Desktop enabled and potentially compromise your network. Let me know if there are any issues with the registry fix though and if there are I will just remove it from this article.

No comments:

Post a Comment

Post a Comment