The configuration for a tunnel provider’s virtual interface.


class NETunnelNetworkSettings : NSObject


Initializing Tunnel Network Settings

init(tunnelRemoteAddress: String)

Initialize a NETunnelNetworkSettings object.

Accessing Tunnel Network Settings

var tunnelRemoteAddress: String

The IP address of the tunnel server

var dnsSettings: NEDNSSettings?

The tunnel DNS settings.

class NEDNSSettings

The DNS resolver settings of a network tunnel.

var proxySettings: NEProxySettings?

The tunnel HTTP proxy settings.

class NEProxySettings

NEProxySettings contains HTTP proxy settings.


Inherits From

See Also

Packet Tunnel Provider

class NEPacketTunnelProvider

The principal class for a packet tunnel provider app extension.

class NEProvider

An abstract base class for all NetworkExtension providers.

class NEPacketTunnelNetworkSettings

The configuration for a packet tunnel provider’s virtual interface.

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