Expertise Level: Easy
Related information: http://iweb.com/dedicated-server/windows
In 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
- Connect to your server using Remote Desktop.
- Click simultaneously on the Windows logo + R to open the “Run” dialog and execute the “cmd” command.
- Execute the following command:
Note: Replace "RDesktop-iWeb" 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-iWeb" action=allow remoteip=22.214.171.124 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:
Note: Replace "RDesktop-iWeb" by the name of your choice
netsh advfirewall firewall delete rule name ="RDesktop-iWeb"