Restrict RDP Access by IP Address

Windows Servers
Restrict RDP Access by IP Address
If you would like to restrict Remote Desktop access to your Dedicated server to an 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.
  2. Open Windows Firewall with Advanced Security
  3. Click on Inbound Rules in the left pane.
  4. Locate your RDP Rule
  5. Right click the rule, go to Properties, switch to the Scope tab.
 
Creating Your IP Restrictions
 
The Scope tab is where you will add the IP addresses and ranges you want to access your server. 
 
  1. In the Scope tab. edit the Remote IP Address section
  2. Click the radio button next to These IP Addresses
  3. Then click Add...
  4. If using a single IP Address, simply type it in the top text field, then click OK
  5. For every additional single IP Address, repeat Steps 3 & 4. 
  6. If you need to add an IP Range, click the radio button next to This IP range
  7. Type the start of the range in the From field, and the end of the range in the To field. 
  8. For every additional range, repeat Steps 6 & 7.
  9. After adding every desired IP Address, click the OK button to finalize the changes. 
Once your finalize the changes, you can test the rule by attempting to RDP to the server using an IP outside of the desired ranges. If it fails to connect, then the rule is successful.
 
If the rule is not successful, or you lose RDP connection to the server, please contact the Support Team.
 
 

Add Feedback