---
title: routingMethod
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/netunnelprovidermanager/routingmethod
---

# routingMethod

The method that the system uses to route network traffic to the tunnel.

## Declaration

```swift
var routingMethod: NETunnelProviderRoutingMethod { get }
```

## Discussion

Discussion The default is NETunnelProviderRoutingMethod.destinationIP.

## See Also

### Getting tunnel configuration properties

- [NETunnelProviderRoutingMethod](networkextension/netunnelproviderroutingmethod.md)
