How to Restrict the RDP Access to Your Desktop

The following document will help you to block the unwanted IPs from accessing your Virtual Desktop or Server.

Follow the below steps to control the access with a new rule:

  1. Right Click on Start button.
  2. Click on Run.
  3. Type wf.msc and Enter.

  5. Right Click on Inbound Rules and Click on New Rule.

  7. Select Port from Rule Type Wizard and click Next.
  8. Click on TCP and Enter port number 25569 in Specific Local Ports, click Next.
  9. Select Allow the connection, click Next.
  10. Select Domain, Private and Public, click Next.

  12. Enter Rule Name (Allow Remote Desktop), click Finish.
  13. Click Inbound Rules. Open the Rule (Allow Remote Desktop) that you have created.
  14. Select Scope and under Remote IP Address section, select These IP addresses and add the IPs from which you want to allow the access. Rest all the IPs will be by default blocked.
  15. Create UDP Rule

  16. Right click on Start.
  17. Click on Run.
  18. Type wf.msc and press Enter key.

  20. Right click on Inbound Rules and click New Rule.

  22. Select port from Rule Type Wizard, click Next.
  23. Click UDP. Enter the port number 25569 in Specific Local Ports.
  24. Select Allow the connection.
  25. Select Domain, Private and Public Profile, click Next.

  27. Enter Rule Name (Allow Remote Desktop) and Click Finish.
  28. Open the Rule Allow Remote Desktop from Inbound Rules
  29. Select Scope and Add the IP addresses in Remote IP Address section then Click OK.

Now the rule is ready to restrict all external IPs except the IPs you have added in the rule.

Leave a Reply

Submit Your Requirement