Skip to content

Commit cabd915

Browse files
authored
Merge pull request #4059 from MicrosoftDocs/main
[AutoPublish] main to live - 11/27 01:33 PST | 11/27 15:03 IST
2 parents 93c0119 + 6c1599a commit cabd915

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

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

Lines changed: 20 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>]
@@ -885,6 +885,25 @@ Accept pipeline input: False
885885
Accept wildcard characters: False
886886
```
887887

888+
### -TunnelType
889+
Specifies that matching IPsec rules of the indicated tunnel type are created.
890+
This parameter specifies which tunnel type to negotiate.
891+
The acceptable value for this parameter is: PointToSite.
892+
- PointToSite: Indicates that the IPsec rule applies only to point-to-site tunnels, typically used for connecting an individual client to a network.
893+
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.
894+
```yaml
895+
Type: TunnelType
896+
Parameter Sets: (All)
897+
Aliases:
898+
Accepted values: PointToSite
899+
900+
Required: False
901+
Position: Named
902+
Default value: PointToSite
903+
Accept pipeline input: False
904+
Accept wildcard characters: False
905+
```
906+
888907
### -User
889908
Specifies that matching IPsec rules of the indicated user accounts are created.
890909
This parameter specifies that only network packets that are authenticated as incoming from or outgoing to a user identified in the list of user accounts match this rule.

0 commit comments

Comments
 (0)