Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the VPN server default IPsec configuration.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class VpnServerIPsecDefaultConfiguration : VpnServerIPsecConfiguration
{
  uint32 IdleDisconnect;
  uint32 SALifeTime;
  uint32 MMSALifeTime;
  uint32 SADataSizeForRenegotiation;
  uint32 Ikev2Ports;
  uint32 L2tpPorts;
  uint32 SstpPorts;
  uint32 GrePorts;
  uint32 TunnelType;
  string EncryptionType;
};
Members
The VpnServerIPsecDefaultConfiguration class has these types of members:
Properties
The VpnServerIPsecDefaultConfiguration class has these properties.
- 
EncryptionType 
-  - 
Data type: string 
- 
Access type: Read/write 
 Specifies the type of encryption. The possible values are. 
- 
- 
NoEncryption ("NoEncryption") 
- 
RequireEncryption ("RequireEncryption") 
- 
OptionalEncryption ("OptionalEncryption") 
- 
MaximumEncryption ("MaximumEncryption") 
GrePorts
- 
Data type: uint32 
- 
Access type: Read/write 
Number of GRE ports created
Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.
This property is inherited from VpnServerIPsecConfiguration.
IdleDisconnect
- 
Data type: uint32 
- 
Access type: Read/write 
The duration, in seconds, after which an idle connection is terminated
Unless the idle time-out is disabled, the entire connection is terminated if the connection is idle for the specified interval.
This property is inherited from VpnServerIPsecConfiguration.
Ikev2Ports
- 
Data type: uint32 
- 
Access type: Read/write 
Number of IKEv2 ports created
This property is inherited from VpnServerIPsecConfiguration.
L2tpPorts
- 
Data type: uint32 
- 
Access type: Read/write 
Number of L2TP ports created
This property is inherited from VpnServerIPsecConfiguration.
MMSALifeTime
- 
Data type: uint32 
- 
Access type: Read/write 
Lifetime of main mode security association (SA) in seconds, after which the MM SA is no longer valid
Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.
This property is inherited from VpnServerIPsecConfiguration.
SADataSizeForRenegotiation
- 
Data type: uint32 
- 
Access type: Read/write 
The number of kilobytes that can be transferred using a SA before the SA will be renegotiated
This property is inherited from VpnServerIPsecConfiguration.
SALifeTime
- 
Data type: uint32 
- 
Access type: Read/write 
Lifetime of a security association (SA), after which the SA is no longer valid, in seconds
This property is inherited from VpnServerIPsecConfiguration.
SstpPorts
- 
Data type: uint32 
- 
Access type: Read/write 
Number of SSTP ports created
Windows Server 2012: This property is not supported before Windows Server 2012 R2.
This property is inherited from VpnServerIPsecConfiguration.
TunnelType
- 
Data type: uint32 
- 
Access type: Read/write 
The tunnel type to apply to custom policy
Windows Server 2012: This property is not available before Windows Server 2012 R2.
This property is inherited from VpnServerIPsecConfiguration.
Requirements
| Minimum supported client | None supported | 
| Minimum supported server | Windows Server 2012 | 
| Namespace | Root\Microsoft\Windows\RemoteAccess | 
| MOF | 
 | 
| DLL | 
 |