Split tunneling on Windows and macOS

Split tunneling means only part of your traffic goes through the VPN. For example, your bank and local sites open directly, and everything else goes through the VPN. Or the other way round: only one service goes through the VPN. You set it up in the VPN client.

Updated

On this page

Two modes

  • “Everything through the VPN except…” — all traffic is in the tunnel, and the exceptions go direct: banks, government sites, local sites, the printer. This is the usual choice.
  • “Through the VPN only…” — the other way round: the tunnel is only for what you list, and the browser and downloads go direct. Handy when you need the VPN for one service.

How to set it up

  1. 1

    Pick the mode

    Exceptions or an "only through the VPN" list — take whichever list is shorter.

  2. 2

    Add sites and IP addresses

    A site is typed by name (example.com) — subdomains go along with it. IP addresses and subnets go in the same way.

  3. 3

    Add apps

    An app is picked from a list or typed by its file name — on Windows, for example, telegram.exe.

  4. 4

    Reconnect the VPN

    New rules take effect after reconnecting.

Worth knowing

  • Rules by site and app work with proxy protocols: VLESS, VMess, Trojan, Shadowsocks, Hysteria2, TUIC. WireGuard, AmneziaWG and OpenVPN take IP addresses only.
  • In "only through the VPN" mode the browser goes direct — and so does its DNS. A leak test will show your ISP's DNS, and that is expected.
  • If a rule didn't work, reconnect the VPN first, then check the profile's protocol.

In Veli

The Apps & sites section

In Veli, split tunneling lives in Apps & sites. Pick the mode, type a site or an IP into the field under “Sites and IP addresses” and press “Add”. “Pick apps” opens the list of programs: open now at the top, the others below. “Pick from the list” has more than 500 ready-made lists: AI, video, messengers, games, finance and more.

The rules are shared by all profiles, and a profile can have its own — the “Apply to” choice at the top right. Rules by app and site work on VLESS, VMess, Trojan, Shadowsocks, Hysteria2, TUIC and Veli profiles; WireGuard, AmneziaWG and OpenVPN take IP addresses only, and the rules page says so itself. After Save on an already-up tunnel, press “Reconnect”.

FAQ

Can I send just one app through the VPN?

Yes: "only through the VPN" mode with that app on the list. Everything else goes direct.

I added a site to the exceptions, but it still goes through the VPN

Reconnect the VPN — rules take effect after reconnecting. WireGuard, AmneziaWG and OpenVPN profiles need IP addresses, not site names.

Is it safe to send part of the traffic around the VPN?

Whatever goes direct shows your usual address, as without a VPN. Send around the tunnel only what that doesn't hurt: your bank, local sites, downloads.

Split tunneling in one section

In Apps & sites pick the mode and add sites, apps or ready-made lists — there are more than 500 of them.