unbraid

Guides · Published · Updated on

Split tunneling on macOS, explained

Split tunneling sends part of your traffic through a VPN and leaves the rest on your normal connection. On Mac, that can mean keeping one app off the VPN, using a VPN for chosen apps, or giving local addresses a separate path.

unbraid for Mac also lets apps use different VPN exits at the same time. One browser can leave from Italy, another from Japan, and a third app can use your normal connection.

The kinds of split tunneling

  • Include apps. Only the apps you choose use the VPN. The others use your normal connection.
  • Exclude apps. The VPN is the default, with exceptions for apps that use your normal connection.
  • By address. Traffic to chosen networks takes a different path. A printer on your local network or devices behind a home subnet router are examples.
  • By website. A website takes its own route, whatever app opens it. You might send one streaming site through another country while the browser keeps its usual exit.

In unbraid, a Direct default with app exceptions gives you the include setup. A VPN default with apps assigned to Direct gives you the exclude setup.

The one-app tutorial walks through both.

One exit or several at once

An include or exclude list can divide traffic between one VPN exit and your normal connection. Giving different apps different VPN countries needs several exits.

unbraid keeps those exits inside one client. Routes can use the same provider or different providers. You can also use your own WireGuard, OpenVPN or Shadowsocks server, or a Tailscale exit node.

The default route connects while unbraid is on. Other routes connect once apps or websites are assigned to them, and a speed test can open an unused route for a moment. Your provider’s connection or device limits still apply.

How unbraid does it on macOS

unbraid runs one packet tunnel network extension. Inside it, the routing engine matches TCP and UDP connections to program paths and applies the app’s route.

Helpers inside an app bundle are included in its rule. Connections macOS opens on an app’s behalf, such as WebKit connections for Safari, use the owning app’s path when it can be identified.

This is per-app routing inside unbraid. You choose routes in its window or menu bar panel.

Routes, Direct and Blocked

  • The default route carries apps without their own assignment.
  • Other routes give chosen apps another exit.
  • Direct uses your normal connection without a VPN exit.
  • Blocked refuses an app’s internet access. Local access depends on the home-access and kill-switch settings.

A website can have its own route too, Direct or Blocked. Add it on the Websites page with Add Website…. In an app that isn’t blocked, it comes before the app’s route, also for apps on Direct, when the connection uses the temporary address unbraid gave for that name. The most specific website wins. A website on Blocked is refused while unbraid is connected or paused, for programs that look its name up through macOS. Names on your own network or in your tailnet can’t take a website rule. The Mac manual has the details.

In All Apps, use an app’s Route menu to choose where it goes. Choose the entry marked Default to remove its exception, or right-click the app and choose Move To, Follow Default. To change the default, right-click a route in the sidebar and choose Make Default.

Where lookups go

DNS turns a name into an address. macOS often makes these lookups through a shared system process, so the first lookup doesn’t identify the app that needs it.

unbraid uses fake-IP DNS to handle this. It returns a temporary address, then resolves the name through the app’s exit when the app connects. The connection and its destination lookup use the selected route.

Settings, Protection lets you choose a DNS filter. With Apps on VPN routes on, each VPN route asks that filter through its own tunnel.

There are exceptions. With Direct as the default, some lookups macOS makes itself follow the default resolver. Those can use your network’s DNS, including some requests other than address lookups. Local names and tailnet names also have their own DNS rules.

IPv6 is captured too. It follows the app’s route or is refused if that path doesn’t carry it.

For a website with its own rule, the lookup goes the website’s way instead. Website rules depend on these lookups: a browser that uses its own secure DNS (DNS over HTTPS) finds addresses itself, so its connections keep the browser’s route.

The kill switch levels

Open Settings, Protection. Under Kill switch, Block traffic outside the VPN has three choices:

  • Off. Apps that pick Wi-Fi or Ethernet themselves can skip the VPN, even while it is connected. While a VPN reconnects, any app may use your normal connection.
  • Internet. Apps only go out the way you chose for them: while a VPN reconnects, its apps wait instead of using your normal connection. Local devices remain reachable when Reach devices on this network is enabled, including from blocked apps.
  • Internet and home network. This also blocks local connections from blocked apps. Other apps can still use enabled home access. Pings to local addresses are an exception because they can’t be matched to an app.

Apps assigned to Direct still use your normal connection through unbraid while it is connected. The kill switch doesn’t turn those apps into VPN apps.

Blocking an app keeps the kill switch enabled. Connect on demand is a separate setting that lets macOS bring the tunnel back after sleep, network changes and restarts. Turning the kill switch on or off while connected restarts the VPN, so for a moment apps may use your normal connection. Switching between Internet and Internet and home network doesn’t.

Local devices and home

Under Settings, Home access, Reach devices on this network lets apps reach local devices such as printers and your router.

For devices elsewhere, Home through Tailscale sends tailnet traffic through Tailscale. Devices behind a subnet router also need their ranges under Home subnets through Tailscale. A home WireGuard tunnel is another option.

These address rules take priority over an app’s internet exit. The Tailscale guide covers home access alongside a provider route.

Limits

unbraid requires macOS 26 or later. It is a VPN client with no servers of its own, so you need a provider account or your own server.

Blocked is not a complete local-network block at the Internet kill-switch level. Some system DNS lookups also remain outside the app’s individual route when Direct is the default.

With Direct as the default and apps on VPN routes, unbraid refuses internet connections whose program it can’t identify, and internet ping is blocked. Local and home access, when on, have their own rules.

Choose the default with new apps in mind. An app you haven’t assigned follows it.

Get started

Download unbraid for Mac and follow the Mac manual for installation and setup.

Bring your own VPN

unbraid is a VPN client with no servers of its own. You sign in with an account you already have, or add your own server. It has built-in support for AirVPN, ExpressVPN, IVPN, Mullvad, NordVPN (affiliate link), Private Internet Access, Proton VPN (Free included), Surfshark (affiliate link) and Windscribe. For CyberGhost, you import config files from your account, with step-by-step help in the app.

We earn a commission if you subscribe through a link marked (affiliate link). It helps keep unbraid free. If you're about to subscribe to a VPN service, thank you for considering doing it through one of them.