unbraid

Guides · Published · Updated on

Rethink DNS vs unbraid for split tunneling

Rethink DNS and unbraid are both free, open source Android apps that can send different apps through different WireGuard tunnels at the same time. Rethink DNS is built around a firewall, a network monitor and an encrypted DNS client with blocklists. unbraid is built around VPN exits: it connects to VPN providers and your own servers, runs several at once, and has Tailscale built in.

We make unbraid. What this page says about Rethink DNS comes from its README, its F-Droid listing and the text in its released app.

You can’t run both at once

Android lets one app be the VPN at a time, and both apps work by being that VPN. Turn one on and Android switches the other off. If either is set as Android’s Always-on VPN, the other can’t start until you change that. The details are in one VPN app at a time on Android.

What Rethink DNS is

The app’s full name on F-Droid is Rethink: DNS + Firewall + VPN. It’s made by Celzero, licensed under Apache 2.0, and published on F-Droid, Google Play and GitHub (also through Obtainium). The app’s build file sets Android 6 as the minimum. Its README describes three modes.

  • DNS. Lookups go to a resolver you choose, over DNS over HTTPS, Oblivious DNS over HTTPS, DNS over TLS or DNSCrypt. The default is Rethink’s own resolver, which blocks malware and ads, and you pick its blocklists in parental, security and privacy groups. Some builds can also download the blocklists to the phone and apply them there. Android’s Private DNS setting can override the resolver you chose.
  • Firewall. You can cut apps off the internet, on Wi-Fi, mobile data or both. Rules can depend on the screen being off, an app being in the background, a metered connection, the app’s Play Store category, or your own lists of domains and IP addresses. Rules based on whether an app is in use rely on Android’s Accessibility Service, and the app explains why when it asks for that permission.
  • VPN, or proxifier. Traffic can go out through WireGuard, SOCKS5 or HTTP CONNECT proxies, and the README gives the example of one browser over Tor while other apps use WireGuard.

The firewall works together with the tunnels, so you can block some apps and send others through different WireGuard providers in the same setup. A network monitor lists, per app, when connections were made and where to, along with each app’s DNS requests and data use. On Android 11 and older, the README says, matching DNS requests to apps relies on a rough guess. Logging can be turned off.

What unbraid is

unbraid is a VPN client for per-app split tunneling. It provides no servers. You bring a supported provider account, including Proton VPN Free, or your own server.

You make routes. Each route has one exit, and you put apps on it. Apps you haven’t assigned follow the default route. An exit can be a provider location, one of your own WireGuard, OpenVPN or Shadowsocks configs, or a Tailscale exit node, and every route in use is connected at the same time. A website can have its own route too, which comes before its app’s route when its lookups pass through unbraid. A banking app can use your normal connection with Direct while a streaming app leaves through one provider in the United States and the rest of your apps through another provider at home. Split tunneling on Android, set up per app shows the steps.

It’s licensed under GPL 3.0 and published as an APK on GitHub. It needs Android 13 or newer on a 64-bit ARM phone. It isn’t on Google Play, and the download page says why.

Side by side

Rethink DNS unbraid
Built mainly for Firewall, DNS and network monitoring Per-app VPN exits
WireGuard tunnels at once Several, apps added to each Several, apps added to each route
Other tunnel types SOCKS5 and HTTP CONNECT proxies, Tor through Orbot OpenVPN, Shadowsocks (ss:// keys)
VPN provider locations From WireGuard configs you add, or Rethink’s own paid relay service Listed in the app, after a sign-in, key or config for each supported provider
Tailscale Not built in Built in, Headscale too
DNS A resolver you choose, over DoH, Oblivious DoH, DoT or DNSCrypt Each route’s DNS inside its tunnel, or one filter over DoH or DoT
DNS blocklists Many, chosen in the app Through the DNS filter or provider you pick
Firewall Per app, with rules for screen, background, metered data, categories, domains and IPs Block per app or website, while connected
Connection log Network monitor and DNS log, can be turned off Statistics by exit, app and routed website, off until you turn them on
IPv6 Choice of IPv4 (the default), IPv6 or automatic IPv4 only through unbraid, IPv6 blocked
Android 6 or newer 13 or newer, 64-bit ARM
Licence Apache 2.0 GPL 3.0
Where to get it F-Droid, Google Play, GitHub GitHub

Several WireGuard tunnels

The official WireGuard app runs one tunnel at a time in standard Android VPN mode; on rooted phones its kernel backend has a setting for several. Both of these apps get around that by being the one VPN themselves and sorting traffic into several tunnels inside it.

In Rethink DNS, WireGuard has two modes. Simple sends every app, DNS included, through a single WireGuard config. Advanced lets several configs run at once, and you choose which apps go into each one. One config can be set as Always-on, which catches every app the others don’t route. Lockdown stops the apps you pick from falling back to another connection when that tunnel is off. A config can be limited to Wi-Fi or to mobile data, Relays can chain one WireGuard tunnel through another, and apps such as Tasker can start and stop configs. A few of these exclude each other: a relay can’t be limited to mobile data, and a config that Tasker manages leaves out the built-in automation.

WireGuard needs the Firewall or DNS + Firewall mode; it can’t run in DNS-only mode. For servers from a VPN provider, you add a config made on the provider’s website for each one. Celzero’s optional paid Rethink Proxy Network offers its own locations inside the app.

In unbraid, each route picks an exit from a list. Routes from different providers sit next to routes from your own configs, so one app can use a provider’s server in Japan while another uses the WireGuard server on your home router. The default route takes every app you haven’t placed elsewhere, the same job Rethink’s Always-on config does. Routes to the same server with the same settings and login share one tunnel. For providers, you sign in, or add a key or config once, depending on the provider, then pick and change locations in the app. Your provider’s limit on simultaneous connections still applies. All Tailscale exit routes use the same exit node. Imported WireGuard configs need one peer and IPv4, and an internet exit needs AllowedIPs that cover all of IPv4.

The AllowedIPs guide explains what that means. OpenVPN files with TAP, interactive two-factor prompts, encrypted keys, PKCS#12 or proxies aren’t accepted.

unbraid can switch between saved profiles on its own when the phone moves between Wi-Fi and mobile data, while connected and while unbraid is not open on screen. Rethink switches single configs on Wi-Fi or mobile data instead.

DNS and blocking

Rethink DNS lets you choose the resolver, the encrypted protocol and the blocklists, and see the lookups each app makes. Its Split DNS setting, marked experimental, can send the lookups of apps in a tunnel to that tunnel’s DNS.

unbraid leaves DNS to each route by default. A VPN route asks for addresses through its own tunnel, with the provider’s or the tunnel’s DNS, and Quad9 as a fallback for some tunnel types. Where a provider has a blocking switch that unbraid supports, you set it on the provider’s page and can change it per route. Other providers keep their blocking settings in your account or in the config they generate.

Settings, Protection sets one filter instead: AdGuard DNS, Cloudflare’s filtering resolvers, NextDNS, Quad9, or Own DNS server, which takes a DNS over HTTPS (https://) or DNS over TLS (tls://) address. With VPN routes on, it replaces the providers’ DNS and blocking on every VPN route, asked through each route’s own tunnel. An Own DNS server behind your home WireGuard tunnel is asked through that tunnel, and one in your tailnet through Tailscale while Reach your tailnet is on. The filter can also cover Direct traffic that passes through unbraid, and you can turn on Filter its lookups for a single Direct app.

That means you can use Rethink’s resolver from unbraid. Rethink’s configure page builds a DNS over HTTPS address with the blocklists you tick. Paste it into Own DNS server and turn on VPN routes. You get those blocklists on your VPN routes, but not Rethink’s per-app DNS log or its firewall.

In unbraid, a filter doesn’t reach an app or a browser that uses its own encrypted DNS, and Android’s Private DNS setting can take lookups away from it. Private DNS and a VPN on Android has the details.

Firewall

Rethink’s firewall is its core. It can block an app on mobile data only, while the screen is off, while you aren’t using it, or always, and it can block domains and IP addresses for every app.

unbraid can block apps and website names, without conditions. An app set to Block can’t reach the internet while unbraid is connected, and no names are looked up for it. Block the local network too decides whether it can still reach devices on your Wi-Fi, as long as Android’s Block connections without VPN is off. A website on Block can’t be looked up in apps whose lookups pass through unbraid. It doesn’t cover apps kept outside unbraid or a browser using its own encrypted DNS. Block only applies while unbraid is connected. There are no rules for screen state, background use or metered connections.

Tailscale and your home network

Rethink DNS doesn’t include Tailscale, and the Tailscale app is a VPN app of its own, so it can’t run next to Rethink. You can still use a plain WireGuard server at home as one of Rethink’s tunnels.

unbraid has Tailscale built in. Turn on Reach your tailnet and routed apps can reach your tailnet devices while they keep their VPN exits for the internet. A Tailscale exit node can be a route’s exit too. If that node runs at home, the apps on that route use your home connection. Headscale works as the control server, and a router’s WireGuard config can be a home tunnel without Tailscale. Tailscale and a VPN at the same time walks through it.

The differences in brief

Rethink DNS combines a conditional firewall, DNS blocklists, a connection and DNS log, and WireGuard tunnels from configs you add, on phones back to Android 6. unbraid connects to VPN providers and your own WireGuard, OpenVPN and Shadowsocks servers on several routes at once, gives websites their own routes, and has Tailscale built in, on Android 13 or newer. Only one of them can be Android’s VPN at a time, but you can use a Rethink DNS resolver address as unbraid’s DNS filter.

Questions

Can I use Rethink DNS and unbraid at the same time? Not as two VPNs. Android runs one VPN app at a time, so starting one stops the other. You can point unbraid’s Own DNS server at a Rethink DNS resolver address.

Does Rethink DNS support OpenVPN or Tailscale? Not today. Its README lists WireGuard, SOCKS5 and HTTP CONNECT tunnels, and both OpenVPN and Tailscale are open feature requests on its issue tracker.

Do they cost anything? Both apps are free, with no account needed to use them. Celzero also offers the optional paid Rethink Proxy Network. With unbraid you bring your own VPN provider or server, which may have its own cost.

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.