Configuration parameters for a VPN tunnel.


class NETunnelProviderProtocol : NEVPNProtocol


NETunnelProviderProtocol objects are used to specify configuration parameters for Tunnel Provider extensions.


Accessing the Tunnel Configuration

var providerConfiguration: [String : Any]?

A dictionary containing keys and values defined by the Tunnel Provider developer.

var providerBundleIdentifier: String?

A string identifying the specific Tunnel Provider extension that should be used with this configuration.


Inherits From

Conforms To

See Also

VPN Configuration

class NETunnelProviderManager

An object to create and manage the tunnel provider’s VPN configuration.

class NEVPNManager

An object to create and manage a Personal VPN configuration.

class NEAppRule

The identity of an app whose traffic is to be routed through the tunnel.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software