explaingit

m66b/netguard

Analysis updated 2026-05-18

3,625JavaAudience · generalComplexity · 2/5Setup · easy

TLDR

A no-root Android app that lets you block or allow internet access per app, using a local on-device VPN with no external servers.

Mindmap

mindmap
  root((NetGuard))
    Core function
      Per app internet blocking
      No root needed
      Local VPN service
    Modes
      Allow by default
      Block by default
      Connection notifications
    Paid features
      Traffic logging
      Domain filtering
      Traffic export
    Compatibility
      Android 5.1 plus
      Samsung quirks
      Custom ROM notes

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Block a specific app from using mobile data or Wi-Fi without rooting your phone.

USE CASE 2

Get notified whenever a new app tries to connect to the internet for the first time.

USE CASE 3

Log and export outgoing network traffic for a chosen app (paid feature).

USE CASE 4

Block ads system-wide using an optional hosts-file filter (GitHub version only).

What is it built with?

JavaAndroid

How does it compare?

m66b/netguardlitesuits/android-commonspockframework/spock
Stars3,6253,6243,627
LanguageJavaJavaJava
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

No root required, runs as a local VPN service, but cannot run alongside another active VPN.

No license information is stated in the explanation.

In plain English

NetGuard is a free, open-source Android app that lets you control which apps on your phone can access the internet. You can block Wi-Fi access, mobile data access, or both, for any individual app. This does not require rooting your phone, which makes it accessible to most Android users without technical modification. The basic use case is simple: open the app, toggle the firewall on, then tap the icons next to each app in the list to allow or block its internet access. You can operate in two modes: either allow everything by default and block specific apps you distrust, or block everything by default and only allow apps you have chosen to permit. The app can also notify you when any app first tries to connect to the internet, so you can decide what to do in the moment. Paid features include logging all outgoing network traffic, filtering by address or domain within a specific app, exporting traffic data for analysis, and a network speed indicator in the status bar. An optional ad-blocking feature based on a hosts file is available in the version downloaded directly from GitHub, though not through the Google Play Store version due to store policy restrictions. NetGuard works by running a local VPN service entirely on your device, meaning your traffic is not routed through any external server. Because Android only allows one VPN to be active at a time, NetGuard cannot run alongside other VPN apps. Some Samsung, LineageOS, and other custom Android versions have VPN implementations that may cause compatibility issues, and the README documents known cases and workarounds in detail. The app supports Android 5.1 and later.

Copy-paste prompts

Prompt 1
Explain how NetGuard's block-by-default versus allow-by-default modes work.
Prompt 2
Walk me through setting up NetGuard to block a single app's internet access.
Prompt 3
Why can't NetGuard run at the same time as another VPN app?
Prompt 4
What are the known compatibility issues with Samsung or LineageOS devices?

Frequently asked questions

What is netguard?

A no-root Android app that lets you block or allow internet access per app, using a local on-device VPN with no external servers.

What language is netguard written in?

Mainly Java. The stack also includes Java, Android.

What license does netguard use?

No license information is stated in the explanation.

How hard is netguard to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is netguard for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.