VPN on demand is the process of automatically establishing a VPN connection for specific domains. For increased security and ease of use, VPN on demand uses certificates for authentication instead of simple passcodes.
- Ensure your certificate authority and certificate templates in the Workspace ONE UEM are properly configured for certificate distribution.
- Make your third-party VPN application of choice available to end users by pushing it to devices or recommending it in your enterprise App Catalog.
- Navigate to Resources > Profiles & Baselines > Profiles and select Add. Select Apple macOS, and then select whether this profile will apply to only the enrollment user on the device (User Profile), or the entire device (Device Profile).
- Configure the profile's General settings.
- Select the VPN payload and configure settings as outlined above.
- Specify the Connection Info for a connection type that supports certificate authentication: IPSec (Cisco), F5 SSL, SSL, or F5 Access.
- Server – Enter the hostname or IP address of the server for connection.
- Account – Enter the name of the VPN account.
- Authentication – Select a certificate to authenticate the device.
- Identity Certificate – Select the appropriate credentials.
- Include User PIN – Select this check box to ask the end user to enter a device PIN.
- Check the Enable VPN On Demand box. Add the Domains, and choose the On-Demand Action.
For wildcard characters, do not use the asterisk (*) symbol. Instead, use a dot in front of the domain. For example, .air-watch.com.
- Always Establish – Initiates a VPN connection regardless of whether the page can be accessed directly or not.
- Never Establish – Does not initiate a VPN connection for addresses that match the specified the domain. However, if the VPN is already active, it may be used.
- Establish if Needed – Initiates a VPN connection only if the specified page cannot be reached directly.
- Select Save and Publish. After the profile installs on a user's device, a VPN connection prompt will automatically display whenever the user navigates to a site that requires it, such as SharePoint.