---
title: excludedRoutes
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neipv6settings/excludedroutes
---

# excludedRoutes

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

## Declaration

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

## Mentioned in

Routing your VPN network traffic

## Discussion

Discussion This property excludes routes that the system might otherwise include from the includedRoutes property. The system automatically excludes the IP address of the tunnel server.

## See Also

### Routing network traffic

- [includedRoutes](networkextension/neipv6settings/includedroutes.md)
- [NEIPv6Route](networkextension/neipv6route.md)
