Instance Property

excludedRoutes

The routes that specify what IPv4 network traffic will be routed to the primary physical interface.

Declaration

var excludedRoutes: [NEIPv4Route]? { get set }

Discussion

These routes are used to specify specific routes that fall within includedRoutes that should be excluded from the tunnel. Note that the IP address of the tunnel server is automatically excluded from the tunnel.

See Also

Accessing IPv4 Properties

var addresses: [String]

The IPv4 addresses to assign to the TUN interface.

var subnetMasks: [String]

The IPv4 network masks to assign to the TUN interface.

var includedRoutes: [NEIPv4Route]?

The routes that specify what IPv4 network traffic will be routed to the TUN interface.

class NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.

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