desktop2:Rule

Definiert eine Firewall-Ausnahmeregel.

Elementhierarchie

<Paket>

    <Erweiterungen>

         <desktop2:Extension>

              <desktop2:FirewallRules>

                   <desktop2:Rule>

Syntax

<desktop2:Rule
  Direction = 'A string that can have one of the following values: "in" or "out".'
  IPProtocol = 'A string that can have one of the following values: "ICMPv4", "ICMPv6", "TCP", "UDP", "GRE", "AH", "ESP", "EGP", "GGP", "HMP", "IGMP", "RVD", "OSPFIGP", "PUP", "RDP", or "RSVP".'
  Profile = 'A string that can have one of the following values: "domain", "private", "domainAndPrivate", "public", or "all".'
  LocalPortMin = 'An optional integer with a value between 1 and 65535 (inclusive).'
  LocalPortMax = 'An optional integer with a value between 1 and 65535.'
  RemotePortMin = 'An optional integer with a value between 1 and 65535.'
  RemotePortMax = 'An optional integer with a value between 1 and 65535.' />

Attribute und Elemente

Attribute

attribute BESCHREIBUNG Datentyp Erforderlich Standardwert
Richtung Die Richtung der Regel. Eine Zeichenfolge, die einen der folgenden Werte aufweisen kann: "in" oder "out". Yes
IPProtocol Das IP-Protokoll für die Regel. Eine Zeichenfolge, die einen der folgenden Werte aufweisen kann: ICMPv4, ICMPv6, TCP, UDP, GRE, AH, ESP, EGP, GGP, HMP, IGMP, RVD, OSPFIGP, PUP, RDP oder RSVP. Yes
Profil Anschließendprofile des Netzwerks. Eine Zeichenfolge, die einen der folgenden Werte aufweisen kann: domain, privat, domainAndPrivate, public oder all. Yes
LocalPortMin Ein minimaler Wert für den lokalen Port. Eine optionale ganze Zahl mit einem Wert zwischen 1 und 65535 (einschließlich). No
LocalPortMax Ein maximaler Wert für den lokalen Port. Eine optionale ganze Zahl mit einem Wert zwischen 1 und 65535. No
RemotePortMin Ein minimaler Wert für den Remoteport. Eine optionale ganze Zahl mit einem Wert zwischen 1 und 65535. No
RemotePortMax Ein max-Wert für den Remoteport. Eine optionale ganze Zahl mit einem Wert zwischen 1 und 65535. No

Untergeordnete Elemente

Keine

Übergeordnete Elemente

Übergeordnetes Element BESCHREIBUNG
desktop2:FirewallRules Gibt Firewall-Ausnahmeregeln an, die von Windows Desktop-Brücke-Apps verwendet werden.

Anforderungen

Element Wert
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
Minimum OS Version Windows 10 Version 1703 (Build 15063)