VPN.IKEv2
The dictionary to use for an IKEv2 VPN type.
Declaration
object VPN.IKEv2Properties
| Name | Type | Description |
|---|---|---|
AllowPostQuantumKeyExchangeFallback | integer | If set to Available: iOS 26+ | iPadOS 26+ | macOS 26+ | tvOS 26+ | visionOS 26+ | watchOS 26+ |
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. Available: iOS 4+ | iPadOS 4+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ |
DisableMOBIKE | integer | If Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
DisableRedirect | integer | If Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
DisconnectOnIdle | integer | If |
DisconnectOnIdleTimer | integer | Only used if |
EnableCertificateRevocationCheck | integer | If Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
EnableFallback | integer | If Enabling fallback requires that the server support multiple tunnels for a single user. Not available in watchOS. Available: iOS 13+ | iPadOS 13+ | tvOS 17+ | visionOS 1+ |
EnablePFS | integer | If Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
EnforceRoutes | integer | If Available: iOS 14.2+ | iPadOS 14.2+ | macOS 11+ | tvOS 17+ | visionOS 1+ |
EnforceStrictAlgorithmSelection | integer | If set to Available: iOS 18.5+ | iPadOS 18.5+ | macOS 15.5+ | tvOS 18.5+ | visionOS 2.5+ | watchOS 11.5+ |
ExcludeAPNs | integer | If Available: iOS 16.4+ | iPadOS 16.4+ | macOS 13.3+ | visionOS 1+ |
ExcludeCellularServices | integer | If Available: iOS 16.4+ | iPadOS 16.4+ | macOS 13.3+ | visionOS 1+ |
ExcludeDeviceCommunication | integer | If set to Available: iOS 17.4+ | iPadOS 17.4+ | macOS 14.4+ | visionOS 1.1+ |
ExcludeLocalNetworks | integer | If Available: iOS 14.2+ | iPadOS 14.2+ | macOS 10.15+ | visionOS 1+ |
ExtendedAuthEnabled | integer | If |
IKESecurityAssociationParameters | VPN.IKEv2.IKESecurityAssociationParameters | These parameters apply to Child Security Association unless |
IncludeAllNetworks | integer | If
Available: iOS 14+ | iPadOS 14+ | macOS 10.15+ | visionOS 1+ |
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: iOS 14+ | iPadOS 14+ | macOS 11+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
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. Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
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 Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
OnDemandEnabled | integer | If |
OnDemandRules | [VPN.VPN.OnDemandRulesElement] | A list of rules that determine when and how to use an OnDemand VPN. |
OnDemandUserOverrideDisabled | integer | If Available: iOS 14+ | iPadOS 14+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
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 Available: iOS 18+ | iPadOS 18+ | macOS 15+ | tvOS 18+ | visionOS 2+ | watchOS 11+ |
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 Available: iOS 18+ | iPadOS 18+ | macOS 15+ | tvOS 18+ | visionOS 2+ | watchOS 11+ |
PPKMandatory | integer | If set to Available: iOS 18+ | iPadOS 18+ | macOS 15+ | tvOS 18+ | visionOS 2+ | watchOS 11+ |
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: macOS 10.15+ | tvOS 17+ | watchOS 10+ |
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. Available: iOS 11+ | iPadOS 11+ | macOS 10.13+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
TLSMinimumVersion | string | The minimum TLS version to use with EAP-TLS authentication. Available: iOS 11+ | iPadOS 11+ | macOS 10.13+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |
UseConfigurationAttributeInternalIPSubnet | integer | If Available: iOS 9+ | iPadOS 9+ | macOS 10.7+ | tvOS 17+ | visionOS 1+ | watchOS 10+ |