How to configure the firewall on remote machines in Windows Server 2012

Home > Search > How-to
  by

Let's say we have two Windows Servers, Server1 and Server2. Follow these steps to configure the firewall on Server2 using Server1. This assumes you are able to manage both Server1 and Server2 using Server1.

  1. In Server Manager, right-click on Server2 and select Windows Powershell
  2. Type Set-NetFirewallRule -DisplayGroup "Windows Firewall Remote Management" -enabled True

This Powershell cmdlet can be used to verify remote management has been enabled:

  1. Set-NetFirewallRule -DisplayGroup "Windows Firewall Remote Management"

Now we can view Windows Firewall on the remote machine:

  1. Open an MMC console
  2. Select File > Add/Remove Snap-in
  3. In the Add/Remove Snap-in dialog box, highlight Windows Firewall with Advanced Security and select Add
  4. In the pop-up box that appear, select Another computer, type Server2, and select OK

You should now be able to configure the firewall for the remote machine.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments