There was a problem loading the comments.

How to Allow RDP Access from a Specific IP Address on Windows Remote Desktop

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

How to Allow RDP Access from a Specific IP Address on Windows Remote Desktop

This knowledge base article will guide you through the process of allowing Remote Desktop Protocol (RDP) access from a specific IP address (e.g., 1.2.3.4) on a Windows system using the default predefined firewall rules.
By utilizing these predefined rules, you can ensure proper configuration while enhancing security by restricting RDP access to a trusted source.

 

Prerequisites:

  • You need administrative privileges on the Windows system.
  • Ensure you have the necessary firewall access to modify RDP settings.

 

Steps to Allow RDP Access from IP Address (1.2.3.4 )

Step 1: Open Windows Firewall Settings

1.1. Press Win + R on your keyboard to open the Run dialog.

2.1. Type firewall.cpl and press Enter. This opens the Windows Firewall settings.

 

Step 2: Modify Inbound Rules

2.1. In the Windows Firewall window, click on "Advanced settings" on the left-hand side.

8f7fd113ce392b26658521d2ea933fe1039675fcb397645ffadde0bf9755676cc4dce4526680a27a?t=c37a7d1b3128f44b910a143539182501

 

Step 3: Allow Remote Desktop - User Mode (TCP-In)

3.1. In the Windows Firewall with Advanced Security window, select "Inbound Rules" on the left-hand side.

3.2. Locate the rule named "Remote Desktop - User Mode (TCP-In)" and double-click it to open the properties.


90d01f43677346b8636b57f8e120ed2f23dfa159494effea1c9861b851134896bc39aaeab8b7d928?t=6eed763f5d97b162f34ef9d0ea6f05dd

 

Step 4: Configure the Rule

4.1. In the Properties window, go to the "Scope" tab.

4.2. Under "Remote IP addresses," choose "These IP addresses."

4.3. Click "Add."

4.4. Select "This IP address or subnet:" and enter the specific IP address you want to allow (e.g., 1.2.3.4).

4.5. Click "OK," then "Apply," and finally "OK" to close the properties window.
 

557b7f5b977bd0a67aa190511c8e54787746f3bdcc153aff9e8fd2b0495a2e1a6c43ddc7b244f7ac?t=4f2afce419957196242549bff3ef6c41

 

Step 5: Allow Remote Desktop - User Mode (UDP-In)

5.1. Locate the rule named "Remote Desktop - User Mode (UDP-In)" in the Inbound Rules list and double-click it.

 

Step 6: Configure the UDP Rule

6.1. In the Properties window, go to the "Scope" tab".

6.2. Under "Remote IP addresses," choose "These IP addresses."

6.3. Click "Add."

6.4. Select "This IP address or subnet:" and enter the specific IP address you want to allow (e.g., 1.2.3.4).

6.5. Click "OK," then "Apply," and finally "OK" to close the properties window.

 

Step 7: Allow Remote Desktop - Shadow (TCP-In)

7.1. Locate the rule named "Remote Desktop - Shadow (TCP-In)" in the Inbound Rules list and double-click it.

 

Step 8: Configure the Shadow Rule

8.1. In the Properties window, go to the "Scope" tab".

8.2. Under "Remote IP addresses," choose "These IP addresses."

8.3. Click "Add."

8.4. Select "This IP address or subnet:" and enter the specific IP address you want to allow (e.g., 1.2.3.4).

8.5. Click "OK," then "Apply," and finally "OK" to close the properties window.

Step 9: Test the Connection

9.1. With the predefined rules now configured, attempt to establish an RDP connection from the allowed IP address (1.2.3.4). Use the Remote Desktop client and enter the target system's IP or hostname.

 

Conclusion

By following these steps, you have successfully configured your Windows system to allow Remote Desktop Protocol (RDP) access from the specific IP address (1.2.3.4) using the default predefined firewall rules.

This approach enhances security by leveraging existing rules to restrict RDP access to a trusted source.

Note: Always exercise caution when modifying firewall and security settings. Make sure you are following your organization's security guidelines and best practices.


Share via
Did you find this article useful?  

Related Articles

Tags

© Rackzar