Authorizing an IP Address in Windows Firewall

n some situations, you will need to temporarily or permanently change remote access to your server from an IP address (for example, iWeb’s support team IP address) in your Windows firewall. These instructions apply Windows Server 2012, 2008 R2, 2008, and 2003.

Add a rule in Windows firewall

  1. Connect to your server using Remote Desktop.
  2. Click simultaneously on the Windows logo + R to open the “Run” dialog and execute the “cmd” command.
  3. Execute the following command:

     Note: Replace "RDesktop-Serversworld" by the name of your choice and 3389 by the new remote access port (Remote Desktop) if the serveur uses a non-default port.


netsh advfirewall firewall add rule name="RDesktop-Serversworld" action=allow remoteip=209.172.32.36 protocol=TCP dir=in localport=3389

 

Suppress an existing rule from Windows firewall

If you want to suppress the rule you just created in the example above, execute this command:

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Connecting to a Windows server with Remote Desktop (RDP)

this article explains how to use Remote Desktop to access your Windows server’s desktop remotely....

Change the Remote Desktop Connection port to your Windows Server

Windows servers are remotely accessible with Remote Desktop via the TCP 3389 port (default port)....

Windows Server 2012 – How to Reboot Your Server

Since the Start menu is not visible in Windows Server 2012 as it was in previous versions (2003,...

Powered by WHMCompleteSolution