Restrict access on RDP by IP Address

Giteqa

Restrict RDP access by IP address

If you want to restrict Remote Desktop access to your dedicated server IP address or range of IP addresses, you can do so by following the instructions below.

Edit existing firewall rule

  1. Connect to your server via RDP or from Console.
  2. Open Windows Firewall with Advanced Security
  3. Click Inbound Rules in the left pane.
  4. Locate the RDP rule
  5. Right-click the rule, go to Properties, switch to the Scope tab.
.

Create your IP restrictions

The Scope tab is where you add the IP addresses and ranges you want to access the server.

  1. On the Scope tab, edit the Remote IP Address section
  2. Click the button next to These IP Addresses
  3. Then click Add ...
  4. If you’re using a single IP address, simply type it in the text field above, then click OK.
  5. For each additional IP address, repeat steps 3 and 4.
  6. If you need to add an IP range, click the button next to This IP range
  7. Type the beginning of the range in the From field and the end of the range in the To field.
  8. For each additional range, repeat steps 6 and 7.
.
  1. After adding each desired IP address, click the OK button to complete the changes.

 

Once you complete the changes, you can test the rule by trying to connect to the RDP server using an IP outside the desired intervals.
If it fails to connect, then the rule has been successfully applied.

If the rule is unsuccessful, or you lose your connection to the server via RDP, please contact your support team.