A firewall on a phone

A firewall app on a phone decides which apps reach the network and which destinations they can reach. On Android it works without root by taking the VPN slot, so it cannot run alongside a VPN app. NetGuard, RethinkDNS, TrackerControl, Blokada and AdGuard are firewall apps of this kind. Each needs setting up, after the app permissions and the advertising identifier have been dealt with.

What it does

  • Cut off apps with no reason to be online, such as a torch, a scanner or a game. Advertising code hidden in such apps can then no longer report back.

  • Block known tracker and advertising domains with a hosts file, so ordinary apps send less about the phone and its location.

  • Read the connection log, where the app keeps one. It shows what each app talks to, and can be the first sign that an app installed months ago is still sending data.

An app talking to an unfamiliar domain may be doing its job, so give anything found this way a second look. Where someone else has had access to the phone, check it for stalkerware and follow the steps for a suspected compromise.

Its limits

  • The phone’s IP address stays visible, and with it a rough location.

  • It filters on exact domain names, so a tracker that shifts between subdomains slips past.

  • An app that sends its data through its own servers gets through, as a weather app does with the location it collects.

  • What an app is allowed to collect is set by its permissions.

  • Traffic while the phone starts up, before the firewall app runs, goes through unfiltered.