L2TP device management settings for Apple devices

You can configure an L2TP VPN connection for users of an iPhone, iPad, Mac, Apple Vision Pro, or Apple TV that enrolls in a device management service. If you have this type of VPN server, choose Layer 2 Tunneling Protocol (L2TP) so your Apple devices can use this method for connecting to the VPN service.

You can use the L2TP settings in the table below with the VPN payload.

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

L2TP User Authentication

The method of user authentication. Available types for L2TP are:

  • Password (the password can be entered)

  • RSA SecurID

  • Certificate (macOS)

  • Kerberos (macOS)

  • CryptoCard (macOS)

Yes

Shared secret

The shared secret for the VPN connection.

No

Send all traffic through the VPN connection

Specifies whether to send all traffic through the VPN connection.

No

VPN on Demand

Specifies whether to enable VPN on Demand.

The action applies to all matching addresses. Addresses are compared using simple string matching, starting from the end and working backward. The address “.melardclothing.com” matches “support.melardclothing.com” and “sales.melardclothing.com,” but doesn’t match “www.private-melardclothing.com.” However, if you specify the match domain as “melardclothing.com”—notice there isn’t a period at the beginning—it matches “www.private-melardclothing.com” and all the others.

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:

  • Always establish a connection

  • Never establish a connection

  • Establish a connection if necessary

No

Note: Each device management service developer implements these settings differently. To learn how L2TP settings are applied to your devices and users, consult your developer’s device management service documentation.

Published Date: October 24, 2022
Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Helpful?
Character limit: 250
Maximum character limit is 250.
Thanks for your feedback.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.