Partager via


VpnServerIPsecConfiguration class

Represents a VPN server Internet Protocol Security (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 VpnServerIPsecConfiguration
{
  uint32 IdleDisconnect;
  uint32 SALifeTime;
  uint32 MMSALifeTime;
  uint32 SADataSizeForRenegotiation;
  uint32 Ikev2Ports;
  uint32 L2tpPorts;
  uint32 SstpPorts;
  uint32 GrePorts;
  uint32 TunnelType;
};

Members

The VpnServerIPsecConfiguration class has these types of members:

Properties

The VpnServerIPsecConfiguration class has these properties.

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.

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.

Ikev2Ports

Data type: uint32

Access type: Read/write

Number of IKEv2 ports created

L2tpPorts

Data type: uint32

Access type: Read/write

Number of L2TP ports created

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.

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

SALifeTime

Data type: uint32

Access type: Read/write

Lifetime of a security association (SA), after which the SA is no longer valid, in seconds

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.

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.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll