
IPsec MDM settings for Apple devices
You can configure an IPsec VPN connection for users of an iPhone, iPad, Mac, or Apple Vision Pro, and for an Apple TV enrolled in a mobile device management (MDM) solution. You can choose the type of machine authentication required. The options are:
Shared Secret/Group Name
Certificate-based
Tables follow for each type of machine authentication that’s required.
IPsec Machine Authentication Shared Secret/Group Name settings
Setting | Description | Required | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Connection name | The display name of the VPN connection. | Yes | |||||||||
Hostname | The IP address or fully qualified domain name (FQDN) of the VPN server. | Yes | |||||||||
Account | The user account for authenticating the VPN connection. | Yes | |||||||||
Group name | The group identifier for the VPN connection. | No | |||||||||
Shared secret | The shared secret for the VPN connection. | No | |||||||||
Hybrid authentication | Allows authentication using the group name, secret, and a server-side certificate. | No | |||||||||
Prompt for password | Users can be prompted for their password on the device. | No |
Certificate settings
Setting | Description | Required | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Connection name | The display name of the VPN connection. | Yes | |||||||||
Hostname | The IP address or fully qualified domain name (FQDN) of the VPN server. | Yes | |||||||||
Account | The user account for authenticating the VPN connection. | Yes | |||||||||
Certificate payload | The Certificates payload for the VPN connection. | Yes | |||||||||
User PIN | The credential for authorizing the VPN connection. | No | |||||||||
VPN on Demand | Specifies whether to enable VPN on Demand to access specific websites. The action applies to all matching addresses. Addresses are compared using simple string matching, starting from the end and working backward. The address “.betterbag.com” matches “support.betterbag.com” and “sales.betterbag.com,” but doesn’t match “www.private-betterbag.com.” However, if you specify the match domain as “betterbag.com”—notice there isn’t a period at the beginning—it matches “www.private-betterbag.com” and all the others. Note: After 2 minutes of inactivity, the device closes a VPN session initiated by VPN On Demand. If the connection is initiated manually using Settings, only the VPN server’s timeout applies. | No | |||||||||
Match domain or hostname | Domain and hostnames that can establish a VPN connection. When domains or hostnames are added, VPN on Demand can be configured for each entry. These options are:
| No |
Note: Each MDM vendor implements these settings differently. To learn how IPsec settings are applied to your devices and users, consult your MDM vendor’s documentation.