By default, a VPN sends all of your internet traffic through the tunnel. Often that is not what you want. You may need a VPN for one banking app but not for YouTube, or you may want your local printer and smart TV to keep working while connected. Split tunneling is the feature that lets you choose. This guide explains how it works and how to set it up on Android, iPhone, Windows and Mac.
Full tunnel vs split tunnel
- Full tunnel: every app and every website goes through the VPN. Best for privacy on untrusted networks, such as public Wi-Fi.
- Split tunnel: only chosen apps, or only chosen addresses, go through the VPN. Everything else uses your normal connection.
Why you might want split tunneling
- Save data on a limited plan. If your VPN plan has a daily or monthly allowance, there is no point spending it on video that does not need the VPN. See how much data a VPN uses.
- Keep local services working. Printers, file shares, Chromecast and smart home devices on your home network can become unreachable in full-tunnel mode.
- Keep speed where it matters. Games and video calls are sensitive to latency. Sending them directly avoids the extra distance to the VPN server.
- Avoid confusing other services. If you need an IP address in a specific country for one service, routing everything through it can trigger extra verification on other services that see you suddenly "move".
The two ways to split traffic
By app
You choose which applications use the VPN. Either "only these apps use the VPN" (an include list) or "all apps except these" (an exclude list). This is the easiest to understand and is available on Android and on some desktop VPN apps.
By address
You choose which destination IP addresses go through the tunnel. In WireGuard and AmneziaWG this is controlled by the AllowedIPs line in the config. 0.0.0.0/0, ::/0 means "everything", which is a full tunnel. A narrower list means only traffic to those addresses goes through the VPN. This works on every platform, but you need to know the addresses of the services you care about.
How to set it up
Android: WireGuard and AmneziaWG apps
- Open the app and tap the tunnel's name, then the pencil icon to edit it.
- Find the option "All applications" under the interface section and tap it.
- Choose "Include only selected applications" or "Exclude selected applications", and tick the apps.
- Save and reconnect.
A practical example: include only your banking app and your browser. Everything else, including Instagram, YouTube and app updates, goes around the VPN.
Android and Windows: AmneziaVPN app
The AmneziaVPN app has a "Split tunneling" section in its settings. Depending on the platform, you can split by app, by website, or both: add the apps or sites that should use the VPN, or those that should bypass it. Website-based splitting is handy when you only need the VPN for a handful of domains.
iPhone and iPad
iOS does not let ordinary VPN apps route by application. The WireGuard-family apps split only by address, using AllowedIPs. In practice, most iPhone users either keep a full tunnel and simply turn the VPN on when they need it, or use the AmneziaVPN app's site-based options where available.
Windows and Mac: WireGuard and AmneziaWG apps
These apps also split by address only. Edit the tunnel and change AllowedIPs. Note one detail on Windows: when AllowedIPs covers everything, the app shows a "Block untunneled traffic (kill-switch)" option; with a narrower list, that option disappears, because some traffic is meant to go outside the tunnel.
Excluding your local network
A common wish is "use the VPN for the internet, but not for my home network". In address terms that means routing everything except the private ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Because AllowedIPs lists what to include, you need the complement: a list of ranges that covers the whole internet minus those private blocks. The Android WireGuard app has a ready-made "Exclude private IPs" checkbox for this when editing a full tunnel, and there are free online "AllowedIPs calculators" that produce the list for you. Paste the result into the config, replacing 0.0.0.0/0.
Be careful: if your VPN's own internal address (the Address line, often in the 10.x.x.x range) falls inside a range you exclude, make sure the VPN's DNS server is still reachable. Otherwise websites will stop resolving while the VPN is on.
Security trade-offs
Split tunneling is a convenience, and it has costs:
- Apps outside the tunnel show your real IP address and are visible to your network operator, exactly as without a VPN.
- On public Wi-Fi, excluded apps get none of the VPN's protection. See is public Wi-Fi safe before using split tunneling in a café or airport.
- An app list is easy to forget. If you install a new banking app later, it will not be in your include list until you add it.
- Browsers are a special case: if you include the browser, all websites in it use the VPN. If you only need one site, address- or site-based splitting is more precise.
Testing that it works
- Open a site that shows your IP in an app that should use the VPN. It should show the VPN server's IP.
- Open the same site in an app or browser that should bypass the VPN. It should show your real IP.
- If both show the same address, the split is not active. Reconnect the tunnel after saving changes; most apps only apply new rules on the next connection.
Summary
Use a full tunnel when you want maximum privacy, especially on networks you do not trust. Use split tunneling when you need the VPN for specific apps or services and want everything else to stay fast and cheap. On Android, per-app splitting is a few taps; on other platforms, AllowedIPs does the job. If the config lines are new to you, our config file guide explains each one.