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

# excludedRoutes

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

## Declaration

```swift
var excludedRoutes: [NEIPv4Route]? { 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/neipv4settings/includedroutes.md)
- [NEIPv4Route](networkextension/neipv4route.md)
