Instance Property

routingMethod

The method by which network traffic is routed to the tunnel.

Declaration

var routingMethod: NETunnelProviderRoutingMethod { get }

Discussion

The default is NETunnelProviderRoutingMethodDestinationIP.

See Also

Getting the Tunnel Configuration

var protocolConfiguration: NEVPNProtocol

The configuration of the current tunneling session.

var appRules: [NEAppRule]?

The app rules dictating which apps will use the current tunneling session.