Instance Property

includeAllNetworks

A property that indicates that the system sends all network traffic over the tunnel.

Declaration

@property BOOL includeAllNetworks;

Discussion

If this value is YES and the tunnel is unavailable, the system drops all network traffic. The default value is NO.

This property isn’t supported with NETransparentProxyManager.

See Also

Accessing Common Tunnel Properties

serverAddress

The address of the tunneling server.

username

The user name component of the tunneling protocol authentication credential.

passwordReference

A persistent keychain reference to a keychain item containing the password component of the tunneling protocol authentication credential.

identityReference

A persistent keychain reference to a keychain item containing the certificate and private key components of the tunneling protocol authentication credential.

identityData

The certificate and private key components of the tunneling protocol authentication credential, in PKCS12 format.

identityDataPassword

The password to decrypt the PKCS12 data set in the identityData property.

disconnectOnSleep

A flag indicating whether the VPN disconnects when the device sleeps.

proxySettings

The proxy settings to use for HTTP and HTTPS connections that route through the VPN.

excludeLocalNetworks

A property that indicates that the system excludes all traffic destined for local networks from the tunnel.