Instance Property

subnetMasks

The IPv4 network masks to assign to the TUN interface.

Declaration

@property(readonly) NSArray<NSString *> *subnetMasks;

Discussion

Each mask in this array is combined with the IP address in the corresponding index in addresses to specify an IPv4 network that the TUN interface is (virtually) connected to.

See Also

Accessing IPv4 Properties

addresses

The IPv4 addresses to assign to the TUN interface.

includedRoutes

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

excludedRoutes

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

NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.