<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNProtocol/includeAllNetworks",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEVPNProtocol(py)includeAllNetworks"
  },
  "title" : "includeAllNetworks"
}
-->

# includeAllNetworks

A Boolean value that indicates whether the system sends most network traffic over the tunnel.

```
var includeAllNetworks: Bool { get set }
```

## Discussion

If this property is <doc://com.apple.documentation/documentation/Swift/true>, the system routes network traffic through the tunnel except traffic for designated system services necessary for maintaining expected device functionality.

You can exclude some types of traffic using the [`excludeAPNs`](/documentation/NetworkExtension/NEVPNProtocol/excludeAPNs), [`excludeLocalNetworks`](/documentation/NetworkExtension/NEVPNProtocol/excludeLocalNetworks), and [`excludeCellularServices`](/documentation/NetworkExtension/NEVPNProtocol/excludeCellularServices) properties in combination with this property. The system always excludes the following network traffic from the tunnel regardless of this property value:

- Network control plane traffic that maintains a device’s connection to the local network, such as DHCP.
- Captive portal negotiation traffic that authorizes a device with a Wi-Fi hotspot.
- Certain cellular services traffic that uses the cellular network only, such as VoLTE.
- Traffic that communicates with a companion device, such as an Apple Watch.

[`NETransparentProxyManager`](/documentation/NetworkExtension/NETransparentProxyManager) doesn’t support this property. The default value for this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)