desktop2:Rule

방화벽 예외 규칙을 정의합니다.

요소 계층 구조

<패키지>

    <확장>

         <desktop2:Extension>

              <desktop2:FirewallRules>

                   <desktop2:Rule>

구문

<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 Description 데이터 형식 필수 기본값
방향 규칙의 방향입니다. "in" 또는 "out" 값 중 하나를 가질 수 있는 문자열입니다. Yes
IPProtocol 규칙에 대한 IP 프로토콜입니다. ICMPv4, ICMPv6, TCP, UDP, GRE, AH, ESP, EGP, GGP, HMP, IGMP, RVD, OSPFIGP, PUP, RDP 또는 RSVP 중 하나를 가질 수 있는 문자열입니다. Yes
프로필 그런 다음 네트워크의 파일을 프로파일합니다. domain, private, domainAndPrivate, public 또는 all 값 중 하나를 가질 수 있는 문자열입니다. Yes
LocalPortMin 로컬 포트의 최소 값입니다. 값이 1에서 65535(포함) 사이의 선택적 정수입니다. No
LocalPortMax 로컬 포트의 최대값입니다. 값이 1에서 65535 사이인 선택적 정수입니다. No
RemotePortMin 원격 포트의 최소 값입니다. 값이 1에서 65535 사이인 선택적 정수입니다. No
RemotePortMax 원격 포트의 최대값입니다. 값이 1에서 65535 사이인 선택적 정수입니다. No

자식 요소

없음

부모 요소

부모 요소 Description
desktop2:FirewallRules Windows 데스크톱 브리지 앱에서 사용하는 방화벽 예외 규칙을 지정합니다.

요구 사항

항목
네임스페이스 http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
Minimum OS Version Windows 10 버전 1703(빌드 15063)