> For the complete documentation index, see [llms.txt](https://docs.defguard.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.defguard.net/2.0/features/wireguard/create-your-vpn-network/split-tunnel-configuration.md).

# Split Tunnel Configuration

To configure split tunnel routing, you need to add the networks that should always route through your VPN connection to the[ Allowed IPs configuration in the VPN Location](/2.0/features/wireguard/create-your-vpn-network.md#allowed-ips). You can do this either in the wizard during the location configuration, or by navigating to Locations, clicking on the "..." menu, and selecting "Edit":

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2F8K6joE4k6HU765HpM3qE%2FScreenshot%202026-05-22%20at%2021.53.11.png?alt=media&amp;token=8afefcd5-4dce-4e38-bac6-4e8bbe76e981" alt="" width="302"><figcaption></figcaption></figure>

And then define the networks in Allowed IPs:

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2Fy9uNSQJ1B0DiDtBeCwjp%2FScreenshot%202026-05-22%20at%2021.52.17.png?alt=media&amp;token=11991ffe-8d18-4f22-b2e3-61ab89a7c93e" alt=""><figcaption></figcaption></figure>

Now any time a user connects to VPN with Predefined Traffic option:

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2F8QjP2mAHzDkremktaZnj%2FScreenshot%202026-05-22%20at%2021.58.24.png?alt=media&amp;token=e2427826-42e6-4b22-9da9-296629e56cb3" alt="" width="563"><figcaption></figcaption></figure>

traffic to those networks will go through the VPN, and all other traffic will use the user's default router or internet connection.
