VPN.IKEv2
The dictionary to use for an IKEv2 VPN type.
Declaration
object VPN.IKEv2Properties
| Name | Type | Description |
|---|---|---|
AllowPostQuantumKeyExchangeFallback | integer | If set to |
AuthenticationMethod Required | string | The type of authentication method for the VPN. To enable EAP-only authentication, set this to |
AuthName | string | The user name to use for authentication. |
AuthPassword | string | The password to use for authentication. |
CertificateType | string | The type of |
ChildSecurityAssociationParameters | VPN.IKEv2.ChildSecurityAssociationParameters | The |
DeadPeerDetectionRate | string | One of the following:
Not available in watchOS. |
DisableMOBIKE | integer | If |
DisableRedirect | integer | If |
DisconnectOnIdle | integer | If |
DisconnectOnIdleTimer | integer | Only used if |
EnableCertificateRevocationCheck | integer | If |
EnableFallback | integer | If Enabling fallback requires that the server support multiple tunnels for a single user. This field is available in iOS 13 and later, and tvOS 17 and later. Not available in watchOS. |
EnablePFS | integer | If |
EnforceRoutes | integer | If |
EnforceStrictAlgorithmSelection | integer | If set to |
ExcludeAPNs | integer | If |
ExcludeCellularServices | integer | If |
ExcludeDeviceCommunication | integer | If set to |
ExcludeLocalNetworks | integer | If |
ExtendedAuthEnabled | integer | If |
IKESecurityAssociationParameters | VPN.IKEv2.IKESecurityAssociationParameters | These parameters apply to Child Security Association unless |
IncludeAllNetworks | integer | If
|
LocalIdentifier Required | string | Identifier of the IKEv2 client. |
MTU | integer | The Maximum Transmission Unit (MTU) specifies the maximum size in bytes of each packet that the system sends over the IKEv2 VPN interface. Available in iOS 14 and later, and macOS 11 and later. |
NATKeepAliveInterval | integer | The NAT Keepalive interval for Always On VPN IKEv2 connections. This value controls the interval that the device sends keepalive offload packets. The minimum value is 20 seconds. If no key is specified, the default is 20 seconds over Wi-Fi and 110 seconds over a cellular interface. |
NATKeepAliveOffloadEnable | integer | If NAT keepalive offload has an impact on the battery life due to the extra workload during sleep. The default interval for the keepalive offload packets is 20 seconds over Wi-Fi and 110 seconds over Cellular interface. The default NAT keepalive works well on networks with small NAT mapping timeouts but imposes a potential battery impact. If a network has larger NAT mapping timeouts, larger keepalive intervals may be safely used to minimize battery impact. Modify the keepalive interval through the |
OnDemandEnabled | integer | If |
OnDemandRules | [VPN.VPN.OnDemandRulesElement] | A list of rules that determine when and how to use an OnDemand VPN. |
OnDemandUserOverrideDisabled | integer | If |
Password | string | The password to use for the account credentials. Only used if |
PayloadCertificateUUID | string | The UUID of the certificate payload within the same profile to use as the account credential. If the value of |
PPK | data | The Post-quantum Pre-shared key (PPK) the device uses for this VPN. This key is is used with VPN servers that support RFC 8784. If this key is present |
PPKIdentifier | string | The identifier for the Post-quantum Pre-shared key (PPK) the device uses for this VPN. This key is is used with VPN servers that support RFC 8784. If this key is present |
PPKMandatory | integer | If set to |
ProviderBundleIdentifier | string | If the VPNSubType field contains the bundle identifier of an app that contains multiple VPN providers of the same type (app-proxy or packet-tunnel), then the system uses this field to choose which provider to use for this configuration. If the VPN provider is implemented as a System Extension, then this field is required. |
ProviderDesignatedRequirement | string | If the VPN provider is implemented as a System Extension, then this field is required. Available in macOS 10.15 and later, tvOS 17 and later, and watchOS 10 and later. |
ProviderType | string | If the value of this key is |
RemoteAddress Required | string | The IP address or host name of the VPN server. |
RemoteIdentifier Required | string | The remote identifier. |
ServerCertificateCommonName | string | The common name of the server certificate. The system uses this name to validate the certificate sent by the IKE server. If not set, the system uses the remote identifier to validate the certificate. |
ServerCertificateIssuerCommonName | string | Common Name of the server certificate issuer. If set, this field causes IKE to send a certificate request based on this certificate issuer to the server. This key is required if the |
SharedSecret | string | If |
TLSMaximumVersion | string | The maximum TLS version to use with EAP-TLS authentication. |
TLSMinimumVersion | string | The minimum TLS version to use with EAP-TLS authentication. |
UseConfigurationAttributeInternalIPSubnet | integer | If |