Skip to content

Commit 3c67dfd

Browse files
authored
Merge pull request MicrosoftDocs#1105 from roberthstrand/patch-1
Updated range-formats in "acceptable formats"
2 parents 6ceea78 + ab78062 commit 3c67dfd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docset/windows/netsecurity/new-netfirewallrule.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ Specifies the ICMP type codes.
416416
The key encoding is specified by running the Set-NetFirewallSetting cmdlet with the *KeyEncoding* parameter.
417417
The acceptable values for this parameter are:
418418

419-
- ICMP type code: 0 through 255.
419+
- ICMP type code: 0-255.
420420
- ICMP type code pairs: 3:4.
421421
- Keyword: Any.
422422
A rule can be queried for this condition, modified by using the security filter object, or both.
@@ -483,8 +483,8 @@ The acceptable formats for this parameter are:
483483
- IPv4 Subnet (by network bit count): 1.2.3.4/24
484484
- IPv6 Subnet (by network bit count): fe80::1/48
485485
- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
486-
- IPv4 Range: 1.2.3.4 through 1.2.3.7
487-
- IPv6 Range: fe80::1 through fe80::9
486+
- IPv4 Range: 1.2.3.4-1.2.3.7
487+
- IPv6 Range: fe80::1-fe80::9
488488
Querying for rules with this parameter can only be performed using filter objects.
489489
See the Get-NetFirewallAddressFilter cmdlet for more information.
490490

@@ -528,12 +528,12 @@ Accept wildcard characters: False
528528
Specifies that network packets with matching IP local port numbers match this rule.
529529
The acceptable value is a port, range, or keyword and depends on the protocol.
530530
If the *Protocol* parameter value is TCP or UDP, then the acceptable values for this parameter are:
531-
- Port range: 0 through 65535.
531+
- Port range: 0-65535.
532532
- Port number: 80.
533533
- Keyword: PlayToDiscovery or Any.
534534
If the *Protocol* parameter value is ICMPv4 or ICMPv6, then the acceptable values for this parameter are:
535535
- An ICMP type, code pair: 0, 8.
536-
- Type and code: 0 through 255.
536+
- Type and code: 0-255.
537537
- Keyword: Any.
538538
If the *Protocol* parameter is not specified, then the acceptable values for this parameter are: RPC, RPCEPMap, Teredo, IPHTTPSIn, IPHTTPSOut, or Any.
539539
IPHTTPS is only supported on Windows Server 2012.
@@ -784,7 +784,7 @@ Specifies that network packets with matching IP addresses match this rule.
784784
This parameter specifies the protocol for an IPsec rule.
785785
The acceptable values for this parameter are:
786786

787-
- Protocols by number: 0 through 255.
787+
- Protocols by number: 0-255.
788788
- Protocols by name: TCP, UDP, ICMPv4, or ICMPv6.
789789
If a port number is identified by using port1 or port2, then this parameter must be set to TCP or UDP.
790790
The values ICMPv4 and ICMPv6 create a rule that exempts ICMP network traffic from the IPsec requirements of another rule.
@@ -815,8 +815,8 @@ The acceptable formats for this parameter are:
815815
- IPv4 Subnet (by network bit count): 1.2.3.4/24
816816
- IPv6 Subnet (by network bit count): fe80::1/48
817817
- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
818-
- IPv4 Range: 1.2.3.4 through 1.2.3.7
819-
- IPv6 Range: fe80::1 through fe80::9
818+
- IPv4 Range: 1.2.3.4-1.2.3.7
819+
- IPv6 Range: fe80::1-fe80::9
820820
- Keyword: Any, LocalSubnet, DNS, DHCP, WINS, DefaultGateway, Internet, Intranet, IntranetRemoteAccess, PlayToDevice. NOTE: Keywords can be restricted to IPv4 or IPv6 by appending a 4 or 6 (for example, keyword "LocalSubnet4" means that all local IPv4 addresses are matching this rule).
821821

822822
Querying for rules with this parameter can only be performed using filter objects.
@@ -859,12 +859,12 @@ This parameter value is the second end point of an IPsec rule.
859859
The acceptable value is a port, range, or keyword and depends on the protocol.
860860
If the protocol is TCP or UDP, then the acceptable values for this parameter are:
861861

862-
- Port range: 0 through 65535
862+
- Port range: 0-65535
863863
- Port number: 80
864864
- Keyword: Any
865865
If the protocol is ICMPv4 or ICMPv6, then the acceptable values for this parameter are:
866866
- An ICMP type, code pair: 0, 8
867-
- Type and code: 0 through 255
867+
- Type and code: 0-255
868868
- Keyword: Any.
869869

870870
If a protocol is not specified, then the acceptable values for this parameter are: Any, RPC, RPC-EPMap, or IPHTTPS.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy