Command to import IP filters in NPS policy
hi
i have ws2012 r2 nps installed vpn. i have defined network policies , need define huge list of ip subnets , ports vpn clients allowed connect.
is there command or powershell import ip filters in nps console under network policies->test policy->settings->ip filters->ipv4->input filters..?
my mistake double ""
netsh nps set np name = "test policy" profileid = "0x102f" advprofiletype = "ipfilter_ipv4infilter" advprofiledata = "permit,10.10.10.0,255.255.255.0,6,0,111"
and allow traffic instead of permit must use deny
also command not add filters existing ones rewrite (so if not in command these lines deleted).
Windows Server > Network Infrastructure Servers
Comments
Post a Comment