Contents

NetworkVPNVPNPluginNetworkRoutingObject

Specifies details about how the VPN routes different types of network traffic.

Declaration

object NetworkVPNVPNPluginNetworkRoutingObject

Properties

NameTypeDescription
EnforceRoutesboolean

If true, all the VPN’s non-default routes take precedence over any locally defined routes.

If IncludeAllNetworks is true, the system ignores the value of EnforceRoutes.

ExcludeAPNsboolean

If true and IncludeAllNetworks is true, then the system excludes the network traffic for the Apple Push Notification service (APNs) from the tunnel.

ExcludeCellularServicesboolean

If true and IncludeAllNetworks is true, then the system excludes internet-routable network traffic for cellular services (VoLTE, Wi-Fi Calling, IMS, MMS, Visual Voicemail, etc.) from the tunnel. Note that some cellular carriers route cellular services traffic directly to the carrier network, bypassing the internet. Such cellular services traffic is always excluded from the tunnel.

ExcludeDeviceCommunicationboolean

If set to true and IncludeAllNetworks is set to true, the device excludes network traffic used for communicating with devices connected via USB or Wi-Fi from the tunnel.

ExcludeLocalNetworksboolean

If true and IncludeAllNetworks is true, routes all local network traffic outside the VPN.

IncludeAllNetworksboolean

If true, routes all traffic through the VPN, with some exclusions. Several of the exclusions can be controlled with the ExcludeLocalNetworks, ExcludeCellularServices, ExcludeAPNs and ExcludeDeviceCommunication properties. The following traffic is always excluded from the tunnel:

  • Traffic necessary for connecting and maintaining the device’s network connection, such as DHCP.

  • Traffic necessary for connecting to captive networks.

  • Certain cellular services traffic that’s not routable over the internet and is instead directly routed to the cellular network. See the ExcludeCellularServices property for more details.

See Also

Objects