Split tunneling is a VPN routing configuration in which only selected traffic travels through the encrypted tunnel, while the remaining traffic leaves the device directly through its local internet connection. In network security and networking practice, it is the opposite of full tunneling, where every packet from the client is forced through the VPN gateway.
The technique exists because tunneling everything is costly: it adds latency, consumes gateway bandwidth and can degrade cloud and video services. Split tunneling trades part of the central visibility and control for better performance, which makes it one of the most debated settings in remote access design.
How split tunneling decides where traffic goes
Split tunneling works by giving the VPN client a routing policy that marks some destinations as tunneled and leaves all others on the default route. When the tunnel comes up, the client installs specific routes on the tunnel interface instead of replacing the default route (0.0.0.0/0), so the operating system forwards each packet according to the longest matching prefix.
Modern clients can also decide by application, domain name or process rather than by IP prefix alone. These richer policies are easier to maintain for cloud services whose addresses change, but they depend on client software that intercepts traffic before it reaches the routing table.
The following table describes the main ways to define which traffic enters the tunnel.
| Policy method | How it selects traffic | Main drawback |
|---|---|---|
| Route-based (include list) | Only listed internal prefixes use the tunnel | Lists must track every internal network |
| Route-based (exclude list) | Everything uses the tunnel except listed prefixes | Cloud address ranges change frequently |
| Application-based | Chosen applications or processes use the tunnel | Requires deep client integration |
| Domain-based | Traffic to named domains uses the tunnel | Depends on correct DNS interception |
An include list is sometimes called classic split tunneling, while an exclude list is often called inverse split tunneling. The second approach is common when organizations tunnel most traffic but exempt large, trusted collaboration services.
Split tunneling versus full tunneling
The central decision is whether security inspection of all traffic is worth the performance cost of hairpinning it through a central gateway. The table below compares the two models on the dimensions that usually drive that decision.
| Aspect | Split tunneling | Full tunneling |
|---|---|---|
| Internet traffic path | Direct from the client | Through the VPN gateway |
| Latency to cloud services | Low | Higher because of the detour |
| Gateway bandwidth load | Limited to internal traffic | All client traffic |
| Central inspection | Only for tunneled traffic | For all traffic |
| Data loss prevention | Weaker unless enforced on the endpoint | Enforced at the gateway |
| Access to local devices | Printers and LAN reachable | Usually blocked |
Neither model is universally correct. Full tunneling suits high-assurance environments with strict monitoring duties, while split tunneling suits organizations whose users mostly work in cloud applications that are reached more efficiently over the local internet path.
Security risks of split tunneling
The main risk of split tunneling is that the device is simultaneously connected to the corporate network and the open internet, so it can act as a bridge if it is compromised. Malware received through the direct path can reach internal resources through the tunnel, and traffic on the direct path bypasses central web filtering and logging.
| Risk | Cause | Mitigation |
|---|---|---|
| Endpoint used as a bridge | Simultaneous access to both networks | Endpoint protection and host firewall |
| DNS leakage | Internal names resolved by public resolvers | Force internal DNS for corporate domains |
| Missed threat detection | Direct traffic skips the gateway | Cloud-delivered web security on the client |
| Data exfiltration | Uploads leave without inspection | Endpoint data loss prevention controls |
| Hostile local networks | Public Wi-Fi exposes direct traffic | Encrypt everything at the application layer |
DNS handling deserves particular attention, because a misconfigured client may send queries for internal hostnames to a public resolver. That reveals internal naming to outsiders and can cause users to connect to the wrong host when names resolve unexpectedly.
Configuring split tunneling in practice
Split tunneling is configured on the VPN concentrator or the client profile, and the exact mechanism depends on the protocol. In IPsec, the policy is expressed through traffic selectors; in WireGuard, through the AllowedIPs list on each peer; and in OpenVPN, through pushed route statements or the redirect-gateway option.
| Technology | Setting that controls the split | Full tunnel equivalent |
|---|---|---|
| WireGuard | AllowedIPs with internal prefixes only | AllowedIPs = 0.0.0.0/0, ::/0 |
| OpenVPN | Pushed route directives | redirect-gateway def1 |
| IPsec (IKEv2) | Narrow traffic selectors | Traffic selector 0.0.0.0/0 |
- Document every tunneled prefix and review the list whenever internal networks change.
- Include IPv6 explicitly, because an IPv4-only policy can leave IPv6 traffic untunneled.
- Pair the policy with endpoint controls such as a host firewall and managed web security.
- Test DNS resolution for internal and external names after every policy change.
Split tunneling in zero trust architectures
Zero trust designs reduce the importance of the tunnel itself, because access decisions move to each application instead of the network perimeter. In zero trust network access and SASE platforms, the client usually steers traffic per application to the nearest cloud point of presence, which is effectively a policy-driven form of split tunneling with inspection kept in the cloud.
This shift explains why split tunneling is no longer judged only as a weakening of security. When identity, device posture and inspection are enforced close to each application, sending traffic directly to the internet can be both faster and adequately controlled.
A common misconception is that split tunneling is always a configuration mistake. In practice, many security frameworks accept it when compensating controls exist, and the real error is enabling it without endpoint protection, DNS enforcement or logging for the traffic that no longer passes the central gateway.
The simple explanation
Imagine a company that gives employees a private, guarded corridor to reach the office from home. Split tunneling means using that corridor only for office business, while ordinary errands use the public street.
This keeps the corridor uncrowded and makes everyday browsing faster. The trade-off is that the company sees less of what happens on the public street, so the laptop itself must be well protected.
How it is used in practice
A regional engineering firm with 400 remote employees runs a WireGuard gateway with a 1 Gbps uplink. Under full tunneling, video meetings and cloud file synchronization pushed the gateway to saturation every morning, and users reported choppy calls with round-trip times above 120 ms.
The network team switches to split tunneling, routing only the firm’s internal 10.20.0.0/16 range and its internal DNS zone through the tunnel. At the same time, it deploys endpoint web filtering and a host firewall on every laptop. Gateway utilization falls by roughly 70 percent, meeting quality returns to normal, and internal design servers remain reachable only through the encrypted tunnel.