desktop2:Aturan

Menentukan aturan pengecualian firewall.

Hierarki elemen

<Paket>

    <Ekstensi>

         <desktop2:Extension>

              <desktop2:FirewallRules>

                   <desktop2:Aturan>

Sintaks

<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.' />

Atribut dan elemen

Atribut

Atribut Deskripsi Jenis Data Diperlukan Nilai default
Arah Arah aturan. String yang dapat memiliki salah satu nilai berikut: "in" atau "out". Ya
IPProtocol Protokol IP untuk aturan tersebut. String yang dapat memiliki salah satu nilai berikut: ICMPv4, ICMPv6, TCP, UDP, GRE, AH, ESP, EGP, GGP, HMP, IGMP, RVD, OSPFIGP, PUP, RDP, atau RSVP. Ya
Profil Kemudianprofile jaringan. String yang dapat memiliki salah satu nilai berikut: domain, privat, domainAndPrivate, publik, atau semua. Ya
LocalPortMin Nilai min untuk port lokal. Bilangan bulat opsional dengan nilai antara 1 dan 65535 (inklusif). Tidak
LocalPortMax Nilai maksimum untuk port lokal. Bilangan bulat opsional dengan nilai antara 1 dan 65535. Tidak
RemotePortMin Nilai min untuk port jarak jauh. Bilangan bulat opsional dengan nilai antara 1 dan 65535. Tidak
RemotePortMax Nilai maksimum untuk port jarak jauh. Bilangan bulat opsional dengan nilai antara 1 dan 65535. Tidak

Elemen anak

Tidak ada.

Elemen induk

elemen induk Deskripsi
desktop2:FirewallRules Menentukan aturan pengecualian firewall yang digunakan oleh aplikasi Windows Desktop Bridge.

Persyaratan

Item Nilai
Ruang nama http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
Versi OS Minimum Windows 10 versi 1703 (Build 15063)