Get started syriaproxy The first proxy made for Syria

What is split tunneling?

With split tunneling, part of your device's traffic goes through a VPN while the rest leaves directly over your normal connection. The decision is made by destination address, by app, or by domain name.

It saves tunnel data and keeps local services working. The price is that whatever leaves outside the tunnel can reveal things you meant to hide.

How the system picks a path for each packet

Every operating system keeps a routing table. For each packet it finds the longest address prefix that matches the destination.

The packet leaves through the interface registered for that prefix. The default route, 0.0.0.0/0, catches everything that matches nothing more specific.

In WireGuard the difference is a single line. This setting sends only two internal networks through the tunnel, and everything else leaves over the normal connection:

AllowedIPs = 10.20.0.0/16, 192.168.50.0/24

The IPsec standards describe the same idea in terms of policy, in RFC 4301. Each entry in the Security Policy Database gives a packet one of three fates: protect, bypass or discard. A split tunnel is a policy that protects some traffic and bypasses the rest.

Some clients do not remove the original default route for a full tunnel. They add two routes that each cover half of the address space, 0.0.0.0/1 and 128.0.0.0/1. Being more specific than 0.0.0.0/0, they win, and the original route takes over again when the tunnel stops.

Three ways to split

Each method also has an inverted form: a list of what stays out, with everything else entering the tunnel. The inverted list is safer when protection is the default, because any new app goes through the tunnel automatically.

Full tunnel versus split tunnel

Full tunnelSplit tunnel
What goes through the tunnelAll of the device's trafficOnly what the rules select
Tunnel data usedEverything the device uses, updates includedThe selected traffic alone
Printer and home networkMay become unreachableStay reachable
What your internet provider seesOne encrypted connectionThe tunnel, plus everything that left outside it
Leak riskLowerHigher, depending on how precise the rules are

The risks

Why companies allow or forbid it

The same NIST guide also lists reasons to prefer it: staff's personal traffic stays off the company network, and less internet capacity is needed. A company may also have legal reasons not to handle traffic unrelated to its business. The guide treats phones as a special case, where the tunnel can be limited to the work app alone.

How to see which traffic goes where

Ask the system which interface will carry a packet to a given address. On Linux:

ip route get 1.1.1.1

On macOS:

route -n get 1.1.1.1

On Windows, in PowerShell:

Find-NetRoute -RemoteIPAddress 1.1.1.1

Then check from the websites' side:

  1. Open the My IP tool in a browser that should be inside the tunnel, then in one that should be outside it. You should see two different addresses, as planned.
  2. Run the DNS leak test in the browser inside the tunnel. The resolvers shown should belong to the tunnel's side, not your own provider.
  3. Test the same browser for a WebRTC leak, since that is where both addresses tend to surface together.

How to split safely

Splitting with syriaproxy

Our apps and WireGuard tunnel the whole device; the Chrome and Edge extension routes only the browser, with WebRTC set not to leak. A SOCKS5, HTTP or HTTPS proxy carries only the program you set it in. Because balance is counted per gigabyte, whatever stays outside the tunnel is not charged.

FAQ

Is split tunneling less secure?

Traffic inside the tunnel is protected just as well. What leaves outside it travels as it would without a VPN, and mistakes in the rules sometimes expose traffic you thought was inside.

Does a kill switch work with split tunneling?

It depends on the app. Usually it protects only the traffic meant to use the tunnel, and does not block excluded traffic, which is allowed out by design. See What is a kill switch.

Why does my printer stop working when the VPN is on?

A full tunnel sends even your home network's addresses to the remote server. Some clients have an option to exclude the local network, which is a limited form of splitting.

Can I send just one website through the tunnel?

Yes, with domain-based splitting, or by opening the site in a browser set to use a proxy. The second is more precise, because domain-based rules depend on addresses that can change.

Test your browser now with the free WebRTC leak test.