<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEIPv6Settings/excludedRoutes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEIPv6Settings(py)excludedRoutes"
  },
  "title" : "excludedRoutes"
}
-->

# excludedRoutes

The IPv6 network traffic that the system routes to the primary physical interface, not the TUN interface.

```
var excludedRoutes: [NEIPv6Route]? { get set }
```

## Discussion

This property excludes routes that the system might otherwise include from the [`includedRoutes`](/documentation/NetworkExtension/NEIPv6Settings/includedRoutes) property. The system automatically excludes the IP address of the tunnel server.

---

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)