Skip to content

Commit cda5ec2

Browse files
authored
Document TunnelType parameter for New-NetIPsecRule
Added TunnelType parameter to New-NetIPsecRule documentation.
1 parent 384fcd7 commit cda5ec2

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docset/winserver2025-ps/NetSecurity/New-NetIPsecRule.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Creates an IPsec rule that defines security requirements for network connections
1919
New-NetIPsecRule [-PolicyStore <String>] [-GPOSession <String>] [-IPsecRuleName <String>] -DisplayName <String>
2020
[-Description <String>] [-Group <String>] [-Enabled <Enabled>] [-Profile <Profile>] [-Platform <String[]>]
2121
[-Mode <IPsecMode>] [-InboundSecurity <SecurityPolicy>] [-OutboundSecurity <SecurityPolicy>]
22-
[-QuickModeCryptoSet <String>] [-Phase1AuthSet <String>] [-Phase2AuthSet <String>] [-KeyModule <KeyModule>]
22+
[-QuickModeCryptoSet <String>] [-Phase1AuthSet <String>] [-Phase2AuthSet <String>] [-KeyModule <KeyModule>] [-TunnelType <TunnelType>]
2323
[-AllowWatchKey <Boolean>] [-AllowSetKey <Boolean>] [-LocalTunnelEndpoint <String[]>]
2424
[-RemoteTunnelEndpoint <String[]>] [-RemoteTunnelHostname <String>] [-ForwardPathLifetime <UInt32>]
2525
[-EncryptedTunnelBypass <Boolean>] [-RequireAuthorization <Boolean>] [-User <String>] [-Machine <String>]
@@ -445,6 +445,28 @@ Accept pipeline input: False
445445
Accept wildcard characters: False
446446
```
447447
448+
### -TunnelType
449+
Specifies that matching IPsec rules of the indicated tunnel type are created.
450+
This parameter specifies which tunnel type to negotiate.
451+
The acceptable value for this parameter is: PointToSite.
452+
453+
- PointToSite: Indicates that the IPsec rule applies only to point-to-site tunnels, typically used for connecting an individual client to a network.
454+
455+
The default value is PointToSite. This setting is very advanced and should only be modified for specific interoperability or security scenarios. Overriding this parameter incorrectly may result in rules not applying as intended, potentially leaving traffic unprotected. Windows versions prior to Windows Server 2025 do not support explicit tunnel type configuration.
456+
457+
```yaml
458+
Type: TunnelType
459+
Parameter Sets: (All)
460+
Aliases:
461+
Accepted values: PointToSite
462+
463+
Required: False
464+
Position: Named
465+
Default value: PointToSite
466+
Accept pipeline input: False
467+
Accept wildcard characters: False
468+
```
469+
448470
### -LocalAddress
449471
Specifies that network packets with matching IP addresses match this rule.
450472
This parameter value is the first end point of an IPsec rule and specifies the computers that are subject to the requirements of this rule.

0 commit comments

Comments
 (0)