netsh » advfirewall » mainmode » set » rule

Microsoft Windows [Version 6.1.7000]
(C) Copyright 2009 Microsoft Corp.
C:\Windows>netsh advfirewall mainmode set rule ? 使用法: set rule name=<文字列> [profile=public|private|domain|any[,...]] [type=dynamic|static (既定値 = static)] new [name=<文字列>] [mmsecmethods= dhgroup1|dhgroup2|dhgroup14|ecdhp256| ecdhp384:3des|des|aes128|aes192|aes256-md5|sha1|sha256| sha384[,...]|default] [mmforcedh=yes|no (既定値 = no)] [mmkeylifetime=<数値>min,<数値>sess] [description=<文字列>] [enable=yes|no] [profile=public|private|domain|any[,...]] [endpoint1=any|localsubnet|dns|dhcp|wins|defaultgateway ||<サブネット>|<範囲>|<一覧>] [endpoint2=any|localsubnet|dns|dhcp|wins|defaultgateway| ||<サブネット>|<範囲>|<一覧>] [auth1=computerkerb|computercert|computercertecdsap256| computercertecdsap384|computerpsk|computerntlm|anonymous[,...]] [auth1psk=<文字列>] [auth1ca=" [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (既定値 = root)] | ..."] [auth1healthcert=yes|no (既定値 = no)] [auth1ecdsap256ca=" [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (既定値 = root)] | ..."] [auth1ecdsap256healthcert=yes|no (既定値 = no)] [auth1ecdsap384ca=" [certmapping:yes|no] [excludecaname:yes|no] [catype:root|intermediate (既定値 = root)] | ..."] [auth1ecdsap384healthcert=yes|no (既定値 = no)] [profile= any|current|domain|private|public[,...]] 注釈: - 指定した規則に新しいパラメーター値を設定します。規則が存在しない場合、 コマンドは失敗します。規則を作成するには、add コマンドを使用します。 - キーワード new の後の値が規則内で更新されます。値がない場合、または キーワード new がない場合、変更は行われません。 - 複数の規則が条件に一致する場合には、一致するすべての規則が更新されます。 - 規則名は一意にする必要があり、"all" にはできません。 - auth1 には、複数のオプションをコンマで区切って指定できます。 auth1 に computerpsk と computerntlm の両方のメソッドを共に指定するこ とはできません。 - DES、MD5、および DHGroup1 の使用はお勧めしません。これらの暗号化アルゴリ ズムは下位互換性を維持する目的でのみ提供されています。 - メイン モードのキーの最小有効期間は mmkeylifetime=1min です。 メイン モードのキーの最大有効期間は mmkeylifetime=2880min です。 最小セッション数は 0 セッションです。 最大セッション数は 2,147,483,647 セッションです。 - mmsecmethods キーワードの既定値は、ポリシーを次のように設定します: dhgroup2-aes128-sha1,dhgroup2-3des-sha1 例: test という名前の規則の mmescmethods、description、および keylifetime を 変更します: Netsh advfirewall mainmode set rule name="test" new description="Mainmode for RATH2" Mmsecmethods=dhgroup2:3des-sha256,ecdhp384:3des-sha384 auth1=computerntlm mmkeylifetime=2min profile=domain

NETSH / ADVFIREWALL / MAINMODE / SET / RULE


Quick - Link:








Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



既存の規則のプロパティに新しい値を設定します。 / Windows 10, 8.1, Seven

HTTP: ... cmd/jp/Windows_7/netsh/advfirewall/mainmode/set/rule.htm
0.061
23868

Difference 7-Zip and Zip format, archive!

How can I reduce the size of the images from Windows 11, 10, ... Explorer?

HP Laserjet III, 4, 5, Plus, Driver x64, x32, Windows 11, 10, 8.1, 7, ...!

Pixel Farbe abfragen mit Hilfe von Programm Argument!

Color filter for files and directorys in Explorer views eg MP3, but how?

Can not drag In Explorer View at Windows Admin Mode!



(0)