NetworkVPNIKEV2
The declaration to configure a VPN using the IKEv2 sub-type.
Declaration
object NetworkVPNIKEV2Properties
| Name | Type | Description |
|---|---|---|
Authentication Required | NetworkVPNIKEV2AuthenticationObject | Settings that control authentication. |
ChildSecurityAssociationParameters | NetworkVPNIKEV2SecurityAssociationParametersObject | The |
DisableMOBIKE | boolean | If |
DisableRedirect | boolean | If |
DNS | NetworkVPNIKEV2DNSObject | A dictionary to use for all VPN types. |
EnableCertificateRevocationCheck | boolean | If |
EnableFallback | boolean | If Enabling fallback requires that the server support multiple tunnels for a single user. Available: iOS 27+ | iPadOS 27+ | tvOS 27+ | visionOS 27+ |
EnablePFS | boolean | If |
EnforceStrictAlgorithmSelection | boolean | If set to |
HostName Required | string | The IP address or hostname of the VPN server. |
Idle | NetworkVPNIKEV2IdleObject | Specifies details about how the system handles idle VPN connections. |
IKESecurityAssociationParameters | NetworkVPNIKEV2SecurityAssociationParametersObject | These parameters apply to Child Security Association unless |
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. |
NetworkRouting | NetworkVPNIKEV2NetworkRoutingObject | Specifies details about how the VPN routes different types of network traffic. Available: iOS 27+ | iPadOS 27+ | macOS 27+ | visionOS 27+ |
OnDemand | NetworkVPNIKEV2OnDemandObject | Specifies details about how the system controls on-demand VPN. |
PostQuantumKeyExchange | NetworkVPNIKEV2PostQuantumKeyExchangeObject | Post Quantum Key Exchange settings. |
Proxies | NetworkVPNIKEV2ProxiesObject | The dictionary to use to configure |
RemoteIdentifier Required | string | The remote identifier. |
UseConfigurationAttributeInternalIPSubnet | boolean | If |
VisibleName Required | string | The name of the VPN connection that the system displays on the device. |
Discussion
Specify com.apple.configuration.network.vpn.ikev2 as the declaration type.
Configuration availability
Allowed in supervised enrollment | iOS, macOS, Shared iPad, tvOS, visionOS |
Allowed in device enrollment | iOS, Shared iPad, tvOS, visionOS |
Allowed in user enrollment | N/A |
Allowed in local enrollment | iOS, macOS, Shared iPad, tvOS, visionOS |
Allowed in system scope | iOS, macOS, Shared iPad, tvOS, visionOS |
Allowed in user scope | macOS |
Apply | Multiple configurations are applied separately |