I have a server who runs Windows Server 2012 R2. I would like to restrict the access of the RDP only to 1 public ip address.

I tried the "Firewall with advanced security" --> Inbound Rules --> Remote Desktop - User Mode (TCP-IN) --> Properties --Scope --> Remote IP address, i add my static ip address, but still i can access RDP from everywhere.

Any idea?

  • Have you created a DENY rule for NOT your IP? – Kinnectus Jan 30 '15 at 12:49
  • Can you be more specific? Where exactly should i create a deny rule? At the RDP? – Mixalis Papoulakis Jan 30 '15 at 12:50
  • If you remove your existing rule can you still connect from any IP? If so then your rule is applying an already open rule - i.e. not going to work. If you create a Windows firewall DENY rule for all addresses APART from your public IP (targeted at your RDP port) then this should block everything BUT your IP... if you see what I mean... – Kinnectus Jan 30 '15 at 12:54
  • Hello, I can't test it that because it is a server hosted in another country and i have access only via RDP. I just want to be able and connect on it only my static IP address. – Mixalis Papoulakis Jan 30 '15 at 13:00
  • If you can access the server via RDP then you can access the server's Control Panel to get to Windows Firewall... Just be very careful using DENY rules as it can ultimately lead to you being locked out of your own server if you get it wrong... we can only help so much because we don't know whether your server config has any pre-existing rules that aren't default. – Kinnectus Jan 30 '15 at 13:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.