Quantcast
Channel: Network Access Protection forum
Viewing all articles
Browse latest Browse all 1875

Advanced Firewall. Multiple entries for remoteip cannot be defined in "netsh advfirewall firewall set rule" command

$
0
0
<!-- [if gte mso 10]> <mce:style>

The online "netsh advfirewall firewall" manual reads as follows: “Multiple entries can be specified forremoteip by separating them with a comma.”

In both Windows 7 Professional Version 6.1 (Build 7600) and Windows Server 2008R2  Enterprise Version 6.1 (Build 7600) the following command executes correctly:

netsh advfirewall firewall set rule name =  "RuleName" new remoteip = IPAddress1

But the following command

netsh advfirewall firewall set rule name =  "RuleName" new remoteip = IPAddress1, IPAddress2

Gives the following error:“A specified value is not valid.”

In the usage information of " netsh advfirewall firewall set rule" I find the following:

[remoteip=any|localsubnet|dns|dhcp|wins|defaultgateway|

   <IPv4 address>|<IPv6 address>|<subnet>|<range>|<list>]

How can a list of IP addresses be submitted to the command?


Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>