Online Privacy

Split Tunneling Explained

How split tunneling sends some traffic through a VPN and some outside it, when that helps, and what it quietly exposes.

Key takeaways

  • A full tunnel sends everything through the VPN; a split tunnel chooses by destination address, domain or app.
  • Split tunneling helps with local devices, bandwidth-heavy services and sites that reject VPN addresses.
  • Traffic outside the tunnel is visible to your local network and internet provider, and shows your real IP address.
  • DNS and IPv6 are the usual sources of surprises, so test both after changing settings.
  • On a work VPN the policy belongs to your employer, and you shouldn't try to override it.

Split tunneling is a VPN setting that sends only some of your traffic through the encrypted tunnel and lets the rest use your normal internet connection. You might keep work systems inside the tunnel while video calls, a home printer or a banking app go directly.

It is a trade. You gain speed and access to local devices, and you give up protection for whatever travels outside. This guide explains how the routing decision is made, the common styles of split tunnel, and how to check that traffic goes where you think it does.

Full tunnel and split tunnel

A virtual private network creates an encrypted link, the tunnel, between your device and a VPN server. In a full tunnel, your device hands nearly all internet-bound traffic to that link. Websites see the VPN server's address, and the networks between you and the server see only encrypted data.

In a split tunnel, your device keeps two ways out. Some packets enter the tunnel. Others leave through your Wi-Fi, Ethernet or mobile connection as if the VPN weren't there.

Neither is the "correct" mode. A person using a VPN to protect themselves on hotel Wi-Fi usually wants a full tunnel. A remote worker who needs one internal file server may be well served by a split tunnel.

How your device decides

Every operating system keeps a routing table, a list that says which interface should carry packets for each range of addresses. When several entries match a destination, the most specific one wins. That rule is called longest prefix match.

A full-tunnel VPN installs a route that covers everything and points it at the virtual network adapter. A split tunnel installs routes only for chosen ranges, such as 10.20.0.0/16 for an office network, and leaves the default route alone. If the /16 notation is unfamiliar, a CIDR calculator shows exactly which addresses a range includes.

Where does a packet go in a split tunnel?
Is it addressed to a device on the local network? YES It goes straight to the device over Wi-Fi or Ethernet. 1 NO Does it come from an app you excluded from the VPN? YES It uses the normal connection and shows your real address. 2 NO Does the destination fall inside a tunneled address range? YES It is encrypted and sent to the VPN server. 3 NO Default route It leaves directly through your internet provider, outside the tunnel. Is it addressed to a device on the local network? 1 IF YES It goes straight to the device over Wi-Fi or Ethernet. NO Does it come from an app you excluded from the VPN? 2 IF YES It uses the normal connection and shows your real address. NO Does the destination fall inside a tunneled address range? 3 IF YES It is encrypted and sent to the VPN server. NO Default route It leaves directly through your internet provider, outside the tunnel.

An example policy: office ranges tunneled, one app excluded.

The common styles

VPN apps offer several ways to describe what is split. Names differ between products, so read the setting's description rather than trusting the label.

Style You choose Works well for Watch out for
Route-based include Address ranges that use the VPN Reaching a specific private network Ranges that change or are missed
Route-based exclude Ranges that skip the VPN Keeping local devices reachable Services with many shifting addresses
App-based Programs that use or skip the VPN Games, streaming apps, browsers Helper processes you didn't list
Domain-based Site names that use or skip the VPN Web services Sites that load from many other domains

Exclusion lists are often called "bypass" lists. An inclusion list is sometimes called inverse split tunneling: nothing is protected unless you add it.

App-based splitting isn't available everywhere. Android has long let VPN apps support it. On iPhone and iPad, per-app VPN is mainly a managed-device feature. Desktop support varies by VPN product and operating system version.

Why people turn it on

The most common reason is the local network. With a strict full tunnel, you may lose access to your printer, network storage or casting target, because traffic meant for them is pushed into the tunnel or blocked.

Performance is the second. Routing a video meeting or a large game download through a distant server adds delay and consumes the VPN's capacity. For a company, sending every employee's streaming traffic through the office connection is expensive.

Compatibility is the third. Some banks and streaming services challenge or block connections from known VPN addresses. Excluding that one app is less disruptive than turning the whole VPN off and forgetting to turn it back on.

What you give up

Traffic outside the tunnel gets none of the VPN's protection. The local network and your provider can see its destinations, as described in what your internet provider can see, and the websites involved see your real IP address.

That mixture can also connect identities. If one browser goes through the VPN and another app talks to the same company directly, the company may be able to associate the two, especially when you're signed in to both.

In business settings, security teams worry that a device with one foot on an open network and one in the company network could carry an infection across. Some organizations require full tunnels for that reason. Others accept splitting and rely on device protections and per-application access controls.

Choosing what belongs inside the tunnel
Sensitive, works over VPN Keep it in the tunnel: browsing on untrusted Wi-Fi, work systems. Sensitive, rejects VPNs Exclude only on a network you trust, such as your own. Routine, bandwidth heavy Good candidate to exclude: large downloads and updates. Local only Exclude local ranges so printers and storage stay reachable. Sensitive, works over VPN Keep it in the tunnel: browsing on untrusted Wi-Fi, work systems. Sensitive, rejects VPNs Exclude only on a network you trust, such as your own. Routine, bandwidth heavy Good candidate to exclude: large downloads and updates. Local only Exclude local ranges so printers and storage stay reachable.

Setting it up in practice

In most consumer VPN apps, split tunneling is a switch in the settings followed by a list of apps or sites. Turn it on, add one item, reconnect and test before adding more.

With WireGuard, the AllowedIPs line in the peer section controls which destinations go to that peer. These two client examples show the difference:

# Full tunnel: everything, IPv4 and IPv6
AllowedIPs = 0.0.0.0/0, ::/0

# Split tunnel: only the tunnel subnet and one remote LAN
AllowedIPs = 10.8.0.0/24, 192.168.50.0/24

For the built-in Windows VPN client, PowerShell can enable splitting and add a route. Replace the connection name and range with your own:

Set-VpnConnection -Name "HomeVPN" -SplitTunneling $true
Add-VpnConnectionRoute -ConnectionName "HomeVPN" -DestinationPrefix "192.168.50.0/24"

On a managed work computer, leave these settings to your IT department.

DNS and IPv6: the usual surprises

Routing decides where packets go, but DNS decides which name server hears your questions. In a split setup, your device may send lookups to the VPN's resolver, to your usual resolver, or to both, depending on the software.

Two things can go wrong. Internal names such as a company wiki may fail because the question went to a public resolver that has never heard of them. Or lookups you expected to be private may go to your provider. Better clients let you send specific domains to the VPN's resolver and everything else to the normal one, an arrangement related to split-horizon DNS.

IPv6 is the other gap. If your network has IPv6 and the VPN only handles IPv4, IPv6 traffic can travel outside the tunnel even when you believe you have a full tunnel. A good client either carries IPv6 or blocks it.

How to verify the split

Don't rely on the toggle. Ask the operating system which way it would send a packet, using an address inside your tunneled range and one outside it.

# Windows: show routing entries and DNS servers per adapter
route print
Get-DnsClientServerAddress
# Linux
ip route get 192.168.50.10
# macOS
route -n get 192.168.50.10

Then check from the outside. Visit an address-checking page, or the request header echo tool, from a tunneled browser and an excluded one. They should report different public addresses if your split covers web traffic.

Repeat the test after VPN updates, operating system upgrades and moves between networks. Also check what happens when the VPN drops. A kill switch, which blocks traffic if the tunnel fails, may behave differently for excluded apps.

Three worked scenarios

Say you work from home and your employer's VPN only needs to reach two internal systems. A split policy that tunnels the company's address ranges keeps your video calls and personal browsing off the office link. The company chooses that policy, because it carries the risk if something goes wrong.

Say instead you're in an airport and want protection from the shared network, but your banking app refuses to load over the VPN. You could exclude the bank. Its connection is still protected by HTTPS, but the airport network can see that you're contacting it. Switching to mobile data for those few minutes avoids the exception altogether.

Say your home desktop runs a VPN all day and your television can no longer find it as a media source. Allowing local network access, which many clients offer as a single checkbox, is enough. You don't need a list of excluded apps to fix a local discovery problem.

Troubleshooting a split that misbehaves

If an excluded site still sees the VPN address, check whether the app opens content in another program, such as a built-in web view or a separate helper process. Restart the app after changing the list, because existing connections often keep their old path.

If a tunneled service is unreachable, compare its resolved address with your included ranges. Cloud-hosted systems can move to new addresses, which is why long lists of static ranges go stale. A domain-based rule or a broader policy from the network owner may be the better fix.

If local devices vanish only on certain networks, the remote and local subnets may overlap. When both use the same range, the routing table can't express which one you meant, and one side has to be renumbered or accessed another way.

A reasonable default

Start with a full tunnel. Add an exclusion only when you can name the problem it solves, such as "the printer disappears" or "my game lags". Keep the list short, and review it occasionally, because forgotten exclusions are easy to miss.

If your only goal is reaching your own home devices while away, the reverse approach fits better: tunnel just your home range and let everything else go directly. Self-hosting a VPN to reach home safely walks through that setup.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Online Privacy →

Latest news on this topic