---
title: includeAllNetworks
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nevpnprotocol/includeallnetworks
---

# includeAllNetworks

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

## Declaration

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

## Mentioned in

Routing your VPN network traffic

## Discussion

Discussion If this property is 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, excludeLocalNetworks, and 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 doesn’t support this property. The default value for this property is false.

## See Also

### Routing network traffic

- [excludeAPNs](networkextension/nevpnprotocol/excludeapns.md)
- [excludeCellularServices](networkextension/nevpnprotocol/excludecellularservices.md)
- [excludeLocalNetworks](networkextension/nevpnprotocol/excludelocalnetworks.md)
- [enforceRoutes](networkextension/nevpnprotocol/enforceroutes.md)
