NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection.
Blocking access to the internet can help:
- reduce your data usage
- save your battery
- increase your privacy
NetGuard is the first free and open source no-root firewall for Android.
- Simple to use
- No root required
- 100% open source
- No calling home
- No tracking or analytics
- Actively developed and supported
- Android 4.0 and later supported
- IPv4/IPv6 TCP/UDP supported
- Tethering supported
- Multiple device users supported
- Optionally allow when screen on
- Optionally block when roaming
- Optionally block system applications
- Optionally forward ports, also to external addresses (not available if installed from the Play store)
- Optionally notify when an application accesses the internet
- Optionally record network usage per application per address
- Optionally block ads using a hosts file (not available if installed from the Play store)
- Material design theme with light and dark theme
- Log all outgoing traffic; search and filter access attempts; export PCAP files to analyze traffic
- Allow/block individual addresses per application
- New application notifications; configure NetGuard directly from the notification
- Display network speed graph in a status bar notification
- Select from five additional themes in both light and dark version
There is no other no-root firewall offering all these features.
- Android 4.0 or later
- A compatible device
- Enable the firewall using the switch in the action bar
- Allow/deny Wi-Fi/mobile internet access using the icons along the right side of the application list
You can use the settings menu to change from blacklist mode (allow all in Settings but block unwanted applications in list) to whitelist mode (block all in Settings but allow favorite applications in list).
- Red/orange/yellow/amber = internet access denied
- Teal/blue/purple/grey = internet access allowed
For more screenshots, see here.
The only way to build a no-root firewall on Android is to use the Android VPN service. Android doesn't allow chaining of VPN services, so you cannot use NetGuard together with other VPN based applications. See also this FAQ.
NetGuard can be used on rooted devices too and even offers more features than most root firewalls.
Some Android versions, expecially not updated Samsung Android versions, have a buggy VPN implementation, which results in Android refusing to start the VPN service in certain circumstances, like when there is no internet conncectivity yet (when starting up your device) or when incorrectly requiring manual approval of the VPN service again (when starting up your device).
NetGuard will not work or crash when the package com.android.vpndialogs has been removed or otherwise is unavailable.
Frequently Asked Questions (FAQ)
For questions, feature requests and bug reports, please use this XDA-Developers forum thread
NetGuard is supported for phones and tablets only, so not for other device types like on a television or in a car.
Building is simple, if you install the right tools:
The native code is built as part of the Android Studio project.
It is expected that you can solve build problems yourself, so there is no support on building. If you cannot build yourself, there are prebuilt versions of NetGuard available here.
- Translations to other languages are welcomed
- You can translate online here
- If your language is not listed, please send a message to marcel(plus)netguard(at)faircode(dot)eu
- You can see the status of all translations here.
Please note that you agree to the license below by contributing, including the copyright.
Copyright (c) 2015-2016 Marcel Bokhorst (M66B)
All rights reserved
This file is part of NetGuard.
NetGuard is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your discretion) any later version.
NetGuard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with NetGuard. If not, see http://www.gnu.org/licenses/.
Android is a trademark of Google Inc. Google Play is a trademark of Google Inc