NetCage
com.aoneahsan.netcage
A per-app firewall for Android. Pick an app, close its gate, and NetCage refuses its Wi-Fi and mobile connections while the rest of the phone stays online. For Android 8.0 and newer, no root required.
At a glance
- Category
- mobile-app
- Status
- Live
- Started
- Aug 2026
- Last updated
- 35 minutes ago
Identifier
com.aoneahsan.netcagePreview
Take a look before you go
The still below is painted first, then the running site loads behind it โ so the dialog is never an empty rectangle waiting on a network round trip. Where a site allows framing the live app takes over; where it refuses, the still stays and says so. Nothing is requested until you press.
About
What this actually is
Sometimes the phone should stay online, but one app should not.
You already know which one. A game that keeps fetching ads, a social app you want quiet during work hours, an app that has no reason to reach the internet at all. NetCage is for that moment: pick the app, close the gate, and carry on.
It is a per-app firewall for Android. Find the app in NetCage's list and flip its switch. Android's VPN slot then lets NetCage refuse that app's connections on this phone, over Wi-Fi and mobile, in the foreground and the background. Release it, and Android gives the app its normal network route back straight away.
No VPN server sits between that app and the refusal.
That is the part people ask about most, because "VPN" usually means a company in the middle. Here it means a local tunnel. Caged connections end on the phone, and apps outside a caged Android user id never enter NetCage's tunnel at all, so uncaged apps stay online exactly as before.
To address its refusal, NetCage reads only the IP and transport-header fields it needs for the reply, in memory. It does not read payload contents, it does not resolve a hostname and it keeps no browsing record.
Each rule chooses its network: Wi-Fi, mobile data, or both. NetCage applies the rule for the phone's current default network rather than inspecting each socket's transport, and the documentation says so plainly instead of claiming more precision than Android allows.
Rules can follow your week.
Group apps in a profile and apply them together, or set chosen days and times. A day pass opens the gate temporarily, then restores the cage when the pass ends.
NetCage does not score your habits or decide which apps deserve access. That decision stays with the person holding the phone.
It runs on Android 8.0 and newer and needs no root. NetCage itself can connect for optional features: accounts, backup, support, telemetry, push, updates, custom icons and Cage Packs. The privacy policy explains each of those flows one by one, so the difference between the firewall and the app around it is never blurred.
There are limits, and they are written down. NetCage does no domain filtering, no hosts file, no DNS interception and no content blocking of any kind. It blocks an app entirely, or not at all. That keeps it predictable: a caged app is offline, and nothing about any other app changes.
The list is built for the phone you actually have. Filters and bulk actions cage every browser, game or social app currently shown in one tap; a rule can let an app use Wi-Fi but never mobile data, or the reverse; and a Quick Settings tile and home-screen widgets put the switch where it is quickest to reach. A setup can be backed up with optional Google sign-in, and a profile can be shared as a Cage Pack. Publishing a pack needs an account; importing one does not.
NetCage is not on Google Play. Android ships as a signed APK from the website, and the public documentation covers setup, the six-step walkthrough and troubleshooting. It is a native Android app written in Kotlin with Jetpack Compose on Android's VpnService.
Its documentation answers the questions people usually find out the hard way. NetCage is not an ad blocker or a content blocker: it refuses a whole app's network route and does not filter ads, trackers, domains or DNS answers inside an app you leave online. Android allows one active VPN at a time, so connecting another VPN replaces NetCage and its cages stop applying until you switch back. NetCage reports that revoked state rather than fighting the VPN you chose.
Caging stops new connections; it does not erase what an app has already cached, so local playback can carry on. Caging also never modifies, clears or uninstalls the app. It can survive a restart when Auto-start on boot is enabled, the master cage is on and a saved rule or schedule is active.
The firewall itself needs no plan and no account. Caging, profiles, schedules, day passes, the widget, the tile and the event log run on the phone on every plan, signed in or not.
Built with
- Kotlin
- Jetpack Compose
- Android
- Android VpnService
- Gradle
Key features
What it does, and what that costs to build
Each of these is a capability the stack genuinely provides. None of them is an outcome nobody measured โ there is no "cut onboarding by 40%" on this page, because no one measured onboarding.
- Per-app switch that refuses one app's connections
- Wi-Fi, mobile data, or both, per rule
- Foreground and background connections refused
- Local tunnel: no VPN server in the middle
- Reads header fields only, in memory; no payload, no hostnames, no browsing record
- Profiles that group apps and apply them together
- Schedules on chosen days and times
- Day pass that opens the gate, then restores the cage
Screenshots
5 slots, none of them filled in yet
These are designed frames, not pictures. Each one records what belongs in the slot and at what width; the capture itself is taken from the running app. Drawing a fake screenshot here would put an image on the site that no build has ever produced.
Timeline
Still being worked on
Aug 2026
Work started
The earliest month on record for NetCage.
Nov 2026
Last change
Status is completed โ 35 minutes ago. Ongoing, so this row moves whenever something lands.
Questions
Common questions
The questions that actually arrive, answered in the first sentence.
- Does NetCage block an app's internet completely?
- Yes. Cage an app and NetCage refuses its foreground and background connections; release it and Android gives its normal network route back straight away.
- Is there a VPN server in the middle?
- No. NetCage uses Android's VPN slot as a local tunnel, so caged connections end on the phone and apps you have not caged stay outside it.
- What does the tunnel read?
- Only the IP and transport-header fields needed for the refusal, in memory. It does not read payload contents, resolve a hostname or keep a browsing record.
- Can the gate follow a schedule?
- Yes. Group apps in a profile and apply them together or on chosen days and times, and a day pass opens the gate temporarily before restoring the cage.
- Does it need root, and where do I get it?
- No root is needed, on Android 8.0 and newer. NetCage is not on Google Play; it ships as a signed APK from its website.
- Is NetCage an ad blocker?
- No. It refuses a whole app's network route and does not filter ads, trackers, domains, websites, DNS answers or content inside an app you leave online.
Keep looking
More mobile work
- SM
SMS Mobile App
com.aoneahsan.smsapp
Android-first SMS automation that dispatches campaigns through the phone itself.
- PR
PregnancyPal
com.aoneahsan.pregnancypal
Week-by-week maternal wellness, nutrition, vitals and prenatal exercise.
- HA
HabitForge
com.aoneahsan.habitforge
Habit tracking with visual strength scoring and offline-first sync.
