Skip to main content
Skyhigh Security

Configuration Steps for an On-Demand VPN for iOS

Configuration of on-demand VPN profile

Login to AirWatch MDM portal

Login to the admin portal of AirWatch MDM to push the vpn profile to your iPhone profile.

You will be logged in to the admin portal of AirWatch.


**Before you proceed further, please make sure to integrate your respective PKI infrastructure with AirWatch for managing your device certificate(s).
Adding a Device Certificate and server certificate in the device through MDM.

Go to Devices → Profiles → Add → Add Profile → Apple iOS 


Give a name to 'General' and fi ll up respective fields.
Select 'Deployment' type

  • Managed: To automatically download those profiles in the device.
  • Manual: To manually download this profile in the device. To download manually , user will get a notification in the 'Hub' app and clicking on this notification will redirect to messages screen of the app. From that screen user can select any of the messages and download the profiles which are available.

Now select a profile, 'Credentials' to add device certificate and server certificate to your device.You can add multiple certificates in a single profile. Click on the (+) button to add or (-) to delete.


Add a VPN profile to the device. 

Go to Devices → Profiles → Add → Add Profile → Apple iOS

Give a name to 'General' and fill up respective fields.


Select a profile of ' VPN' and click on 'Configure '. These are the configurations need to setup for VPN profile

Connection Info


Fields Values
Always On False
(Make it false, otherwise device will be in supervised mode)
Connect Automatically True
Connection Name* VPN Configuration
Connection Type* IKEv2

Certificate #1

(if there is no certificate, please follow #3.1 Step )


Certificate #1

(Select the same 'Certificate' which added in 'Credentials)

Dead Peer Detection Interval Every 10 minutes
EAP Authentication


(select 'certificate' here)

Enable EAP True
Enable PFS True
Local Identifier*


(This string is CN(Common Name) and SAN-(Subject Alternate Name) of client certificate 

Machine Authentication


(select 'certificate' here)

Per-App VPN Rules


(This field is mandatory, in order to activate On-Demand)

Remote Identifier*

(This string is CN(Common Name) and SAN-(Subject Alternate Name) of server certificate 

SA Parameters
IKE2 & Child
Encryption Algorithm AES-256
Integrity Algorithm SHA2-256
Diffie Hellman Group 2
Lifetime in minutes 1440
Safari Domains *
(add the domain names, for which VPN will be on)
Server Certificate Common Name

(This string is CN-Common Name of server root certificate)

Server Certificate Issuer Common Name

VPN Server Root CA

(This string is CN-Common Name of server root certificate)


Get this information from Mvision cloud ->certificate page


TLS Minimum Version iOS 11 OS Default
TLS Maximum Version iOS 11 OS Default

After browsing * from the managed iOS device, VPN On-demand profile will be enabled.


Add your credentials 

Select 'Credentials' from the same profile. (you may have to scroll down the menu on the right)

Click on 'Configure' to add new credentials.

Add your p12 file here.


Save and Publish

Click on 'Save and Publish' to save the profile.
Now click on 'Publish' to publish the profile.

Respective devices will get updated with the published profi le.

  • Was this article helpful?