Skip to content

Rethink: DNS + Firewall + VPN

Android app combining a per-app firewall, encrypted DNS and WireGuard routing

Permissive (OSI) · Apache-2.0
  • Android

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

5,972

Last commit

3 days ago

Nov 2026

Repository age

6 years

since Jun 2020

Latest version

v0.5.8

Oct 2026

Contributors

–

4 active in 90 days

Releases

7

last 12 months

Language

Kotlin

Rethink is an Android app that works in three modes: VPN, DNS and firewall. It runs through Android's VPN interface, so it needs no root. The network code is written in Go and the app itself in Kotlin.

The firewall decides by app, not by port or address. You can block an app's internet access based on screen state, foreground or background state, or metered connections. You can also block by Play Store category or by your own domain and IP denylists. A network monitor shows when each app connected, how often and to where. The DNS mode sends app lookups to a resolver you pick, using DNS over HTTPS, Oblivious DoH, DNS over TLS or DNSCrypt, with blocklists.

The VPN mode forwards traffic over SOCKS5, HTTP CONNECT or WireGuard. Split tunneling lets you send different apps through different tunnels at once. It suits people who would otherwise use Little Snitch-style tools, NetGuard or a Pi-hole-style blocker on a phone. It is licensed Apache-2.0 and is available on F-Droid.

Who it's for

Android users who want to control which apps reach the internet

The firewall blocks whole apps by screen state, metered connection or category.

Skip if: You need a firewall that works on a non-Android device.

Privacy-minded users who want ad and malware blocking on a phone

It routes DNS to a resolver you choose and applies blocklists.

Skip if: You already run another VPN app that must stay active, since Android allows one VPN at a time.

People in restricted networks who need different routes per app

Split tunneling can send each app over SOCKS5, HTTP CONNECT or WireGuard.

Skip if: You only need one tunnel for the whole device.

The problem it solves

Android apps connect to the internet in the background and you get little view of where. Rethink shows those connections and lets you block them per app. It also lets you pick your DNS resolver and route apps through separate tunnels.

Strengths

  • Per-app rules by screen state, foreground state or metered connection
  • Supports DoH, Oblivious DoH, DoT and DNSCrypt resolvers
  • Runs several WireGuard upstreams with split tunneling
  • Network monitor logs per-app connections
  • Apache-2.0 license, available on F-Droid

Trade-offs

  • Android only
  • DNS tracking on Android 11 and below uses a rough heuristic
  • Uses Android's single VPN slot, so it conflicts with other VPN apps
  • Per-app connection mapping on Android 9 and below relies on procfs

Frequently asked questions

Is it free and open source?

Yes. It is licensed under Apache-2.0 and the source is on GitHub.

Which Android versions work?

Android 6 and newer. Per-app connection mapping uses an API available on Android 10 and newer, and falls back to procfs on Android 9 and below.

Where can I get it?

It is on F-Droid, the Play Store and the project website. Alpha builds are on GitHub.

Which DNS protocols does it support?

DNS over HTTPS, Oblivious DoH, DNS over TLS and DNSCrypt.

Similar tools in Firewalls and network security

NetGuard

Firewalls and network security

No-root Android firewall that blocks Wi-Fi and mobile data per app

4k 377 4 months ago Slowing GPL-3.0

AFWall+

Firewalls and network security

iptables-based per-app firewall for rooted Android phones that blocks network access

3.5k 503 yesterday Active GPL-3.0

BlockAds: Clean Internet

Firewalls and network security

Android ad and tracker blocker using local VPN DNS filtering, with an optional root mode

2.8k 176 today Thriving GPL-3.0

TrackerControl

Firewalls and network security

Android app that shows which companies track you and blocks it, without root

2.8k 144 8 days ago Thriving GPL-3.0

ShizuWall

Firewalls and network security

Android firewall that blocks apps per package without using a VPN

2.6k 75 2 days ago Thriving GPL-3.0

Blocker

Firewalls and network security

Android component manager that disables unneeded app components via Intent Firewall

2.5k 103 today Active Apache-2.0