VPN · 8 min read

Split Tunneling Explained: What It Is & When to Use

What is split tunneling?

Split Tunneling Explained: What It Is & When to Use diagram

Split tunneling is a VPN configuration that sends some traffic through the encrypted VPN tunnel while other traffic goes directly to the internet or to your local network. Instead of routing every packet from your device through a single VPN gateway (a full-tunnel configuration), split tunneling lets you choose which apps, IP ranges, or destinations use the VPN and which do not.

There are several common flavors of split tunneling:

How split tunneling actually works (technical overview)

At a technical level, split tunneling is implemented by changing routing behavior on the device so selected destinations use the VPN interface and all other traffic uses the system default gateway. That can be done in a few ways:

DNS handling is important and often overlooked. With split tunneling, DNS queries can flow outside the VPN unless the client provides DNS leak protection or split-DNS. In practice that means the VPN either forces DNS lookups over the tunnel or supplies a split-DNS service that resolves internal names via corporate DNS and public names via public DNS. Without this, an application routed over the VPN might still resolve hostnames using your local DNS, leaking which domains you queried.

To illustrate routes: a full-tunnel VPN typically pushes a default route such as 0.0.0.0/0 into your route table so all IPv4 traffic goes through the VPN. Split tunneling instead adds specific routes, for example

10.0.0.0/8 -> via 
203.0.113.0/24 -> via 

and leaves the system default route pointing to your usual gateway. On Linux you might see commands like ip route add 203.0.113.0/24 dev tun0. On Windows the client would update the routing table via the Windows networking APIs. The important point is: specific traffic is diverted into the tunnel; everything else follows the original default path.

Benefits and security trade-offs

Split tunneling has practical advantages but it also introduces trade-offs. Understanding both sides helps you pick the right configuration.

Benefits

Risks

Mitigations

You can reduce risk by combining controls:

When to use split tunneling — practical use cases

Split tunneling is a pragmatic tool. Use it when you need selective protection or better performance, and avoid it when you require complete coverage.

Practical scenarios where split tunneling helps:

When to avoid split tunneling:

How to set up and troubleshoot split tunneling

Basic setup steps

  1. Decide the split method your client supports — per-app or per-destination.
  2. Configure rules in the VPN client (for per-app choose which apps; for per-destination add the IP ranges or CIDRs to tunnel).
  3. Enable DNS leak protection or configure split-DNS if the client offers it.
  4. Test routing and DNS using tools such as traceroute/tracert, ping, and an external leak test like ipleak.net.

Platform notes

Many Android and Windows VPN apps provide per-app toggles that are easy to use. On macOS you may need an advanced client or manual route configuration. On routers you usually configure policy-based routing or static routes in the firmware (OpenWrt, pfSense, or vendor GUI). Router-level split tunneling affects every device on your network, which is useful but requires care.

Common issues and how to resolve them

Practical tip: always test both IPv4 and IPv6 paths, and if your provider supports it, use split-DNS and a kill switch. VPN4All’s apps include per-app split tunneling and DNS leak protection in settings to help manage these issues consistently across devices.

Choosing a VPN for split tunneling (what to look for)

If split tunneling is a feature you plan to use regularly, pick a VPN that treats it as a core capability rather than an afterthought.

Look for the following features:

Privacy considerations

Read the provider’s logging policy and run your own leak checks. Free VPNs often lack robust split-tunnel controls or have weaker leak protection, which increases risk when you rely on split tunneling. Also verify vendor support for your OS or router firmware and check server locations for the routes you plan to tunnel.

Performance and support

Test latency and server selection for the destinations you’ll route through the VPN. If you rely on split tunneling for gaming or streaming, confirm that the provider offers low-latency servers for those geographies and provides responsive support for troubleshooting routing issues.

Split tunneling is a practical tool when you need selective protection, better performance, or access to both remote and local networks simultaneously. Use it deliberately, test your setup (including DNS and IPv6), and combine it with safeguards like DNS leak protection and a kill switch for the best balance of convenience and security.

Ready to try it?

Get VPN4All →