netsh advfirewall consec default authentication?
Hi all, New to the forum so be nice to a newbie having some issues with the netsh advfirewall consec command. IE. netsh advfirewall consec add rule name="test" enpoint1=any endpoint2=any action=requestinrequestout - this command will create a rule but the default authentication method is not selected. What do I need to add onto this command to select default authentication? Thanks in advance guys/gals!
December 29th, 2010 3:43pm

Hi Nowt101, Type - netsh advfirewall consec add rule /? There are a few options you didn’t list that might help you. The switch you are looking for depends on what type of authentication you want to use and gives examples of correct usage. Here is an excerpt of some additional switches: [auth1=computerkerb|computercert|computercertecdsap256| computercertecdsap384|computerpsk|computerntlm|anonymous[,...]] [auth1psk=<string>] [auth1ca="<CA Name> [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (default=root)] |..."] [auth1healthcert=yes|no (default=no)] [auth1ecdsap256ca="<CA Name> [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (default=root)] | ..."] [auth1ecdsap256healthcert=yes|no (default=no)] [auth1ecdsap384ca="<CA Name> [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (default=root)] | ..."] [auth1ecdsap384healthcert=yes|no (default=no)] [auth2=computercert|computercertecdsap256|computercertecdsap384| userkerb|usercert|usercertecdsap256|usercertecdsap384|userntlm| anonymous[,...]] [auth2ca="<CA Name> [certmapping:yes|no] [catype:root|intermediate (default=root)] | ..."] [auth2ecdsap256ca="<CA Name> [certmapping:yes|no] [catype:root|intermediate (default=root)] | ..."] [auth2ecdsap384ca="<CA Name> [certmapping:yes|no] [catype:root|intermediate (default=root)] | ..."] [qmpfs=dhgroup1|dhgroup2|dhgroup14|ecdhp256|ecdhp384|mainmode| none (default=none)] [qmsecmethods=authnoencap:<integrity>+[valuemin]+[valuekb]| ah:<integrity>+esp:<integrity>-<encryption>+[valuemin]+[valuekb] |default] [exemptipsecprotectedconnections=yes|no (default=no)] [applyauthz=yes|no (default=no)]If it doesnt work enable everything, blame software errors and rebuild
Free Windows Admin Tool Kit Click here and download it now
January 1st, 2011 10:29am

Hi, For more information, please see: Using the Netsh Advfirewall Command-Line Tool http://technet.microsoft.com/en-us/library/cc770887(WS.10).aspx How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior in Windows Server 2008 and in Windows Vista http://support.microsoft.com/kb/947709 Hope it helps. This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
January 4th, 2011 1:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics