Skip to content
Home » News » How to set up Remote Desktop Protocol (RDP)

How to set up Remote Desktop Protocol (RDP)

How to set up Remote Desktop Protocol (RDP)

  1. Configure RDP on the Target Computer:
  • On the computer you want to access via RDP, ensure Remote Desktop is enabled:
    • Right-click on “This PC” or “My Computer,” select “Properties.”
    • Click on “Remote settings” in the left-hand menu.
    • Check the box for “Allow remote connections to this computer.”
  1. Configure Windows Firewall:
  • Open the Windows Defender Firewall settings on the computer you want to access via RDP.
  • Create a new inbound rule to allow RDP traffic only from your local network:
    • Select “Inbound Rules” and click on “New Rule.”
    • Choose the “Port” option and select “Specific local ports.” Enter “3389” (the default RDP port) and click “Next.”
    • Choose “Allow the connection” and click “Next.”
    • Select the appropriate network type (e.g., “Domain,” “Private,” or “Public”) for your local network and click “Next.”
    • Give the rule a name (e.g., “Allow RDP Inbound”) and a description, then click “Finish.”
  1. Check Router Configuration:
  • Log in to your router’s settings. You can usually do this by entering your router’s IP address in a web browser and logging in with your router credentials (usually found on the router or in its manual).
  • Navigate to the port forwarding or virtual server section in your router’s settings.
  • Add a port forwarding rule to forward port 3389 (default RDP port) to the local IP address of the computer you want to RDP into.

Bonus tip: If you want to change the listening port using the Registry Editor, follow these steps:

  1. Select the Start button, type Registry Editor, open Registry Editor from the best match list.

2. Using the navigation pane, expand the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

3. In the main pane, select PortNumber

4. From the menu bar, select Edit > Modify, then select Decimal.

5. Type the new port number, and then select OK.

6. Close the registry editor, and restart your computer.

Now connect to myserver.dev:3390