mirror of https://github.com/M66B/NetGuard.git
271 lines
11 KiB
Markdown
271 lines
11 KiB
Markdown
# NetGuard
|
|
|
|
*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.
|
|
|
|
Features:
|
|
|
|
* 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](https://github.com/M66B/NetGuard/blob/master/ADBLOCKING.md) (not available if installed from the Play store)
|
|
* Material design theme with light and dark theme
|
|
|
|
PRO features:
|
|
|
|
* 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.
|
|
|
|
Requirements:
|
|
|
|
* Android 4.0 or later
|
|
* A [compatible device](#compatibility)
|
|
|
|
Downloads:
|
|
|
|
* [GitHub](https://github.com/M66B/NetGuard/releases)
|
|
* [On Google Play](https://play.google.com/store/apps/details?id=eu.faircode.netguard) (stable)
|
|
* [On Google Play](https://play.google.com/apps/testing/eu.faircode.netguard) (beta)
|
|
* [XDA Labs App](http://forum.xda-developers.com/android/apps-games/labs-t3241866) ([web page](https://labs.xda-developers.com/store/app/eu.faircode.netguard))
|
|
|
|
Usage:
|
|
|
|
* 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
|
|
|
|
<img src="https://raw.githubusercontent.com/M66B/NetGuard/master/screenshots/01-main.png" width="320" height="569" />
|
|
<img src="https://raw.githubusercontent.com/M66B/NetGuard/master/screenshots/02-main-details.png" width="320" height="569" />
|
|
<img src="https://raw.githubusercontent.com/M66B/NetGuard/master/screenshots/03-main-access.png" width="320" height="569" />
|
|
<img src="https://raw.githubusercontent.com/M66B/NetGuard/master/screenshots/08-notifications.png" width="320" height="569" />
|
|
|
|
For more screenshots, see [here](https://github.com/M66B/NetGuard/tree/master/screenshots).
|
|
|
|
Compatibility
|
|
-------------
|
|
|
|
NetGuard will not work or crash when the package *com.android.vpndialogs* has been removed or otherwise is unavailable.
|
|
|
|
|
|
<a name="FAQ"></a>
|
|
Frequently Asked Questions (FAQ)
|
|
--------------------------------
|
|
|
|
<a name="FAQ0"></a>
|
|
[**(0) How do I use NetGuard?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ0)
|
|
|
|
<a name="FAQ1"></a>
|
|
[**(1) Can NetGuard completely protect my privacy?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ1)
|
|
|
|
<a name="FAQ2"></a>
|
|
[**(2) Can I use another VPN application while using NetGuard?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ2)
|
|
|
|
<a name="FAQ3"></a>
|
|
[**(3) Can I use NetGuard on any Android version?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ3)
|
|
|
|
<a name="FAQ4"></a>
|
|
[**(4) Will NetGuard use extra battery power?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ4)
|
|
|
|
<a name="FAQ6"></a>
|
|
[**(6) Will NetGuard send my internet traffic to an external (VPN) server?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ6)
|
|
|
|
<a name="FAQ7"></a>
|
|
[**(7) Why are applications without internet permission shown?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ7)
|
|
|
|
<a name="FAQ8"></a>
|
|
[**(8) What do I need to enable for the Google Play™ store app to work?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ8)
|
|
|
|
<a name="FAQ9"></a>
|
|
[**(9) Why is the VPN service being restarted?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ9)
|
|
|
|
<a name="FAQ10"></a>
|
|
[**(10) Will you provide a Tasker plug-in?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ10)
|
|
|
|
<a name="FAQ13"></a>
|
|
[**(13) How can I remove the ongoing NetGuard entry in the notification screen?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ13)
|
|
|
|
<a name="FAQ14"></a>
|
|
[**(14) Why can't I select OK to approve the VPN connection request?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ14)
|
|
|
|
<a name="FAQ15"></a>
|
|
[**(15) Why won't you support the F-Droid builds?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ15)
|
|
|
|
<a name="FAQ16"></a>
|
|
[**(16) Why are some applications shown dimmed?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ16)
|
|
|
|
<a name="FAQ17"></a>
|
|
[**(17) Why is NetGuard using so much memory?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ17)
|
|
|
|
<a name="FAQ18"></a>
|
|
[**(18) Why can't I find NetGuard in the Google Play™ store app?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ18)
|
|
|
|
<a name="FAQ19"></a>
|
|
[**(19) Why does application XYZ still have internet access?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ19)
|
|
|
|
<a name="FAQ20"></a>
|
|
[**(20) Can I Greenify/hibernate NetGuard?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ20)
|
|
|
|
<a name="FAQ21"></a>
|
|
[**(21) Does doze mode affect NetGuard?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ21)
|
|
|
|
<a name="FAQ22"></a>
|
|
[**(22) Can I tether / use Wi-Fi calling while using NetGuard?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ22)
|
|
|
|
<a name="FAQ24"></a>
|
|
[**(24) Can you remove the notification from the status bar?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ24)
|
|
|
|
<a name="FAQ25"></a>
|
|
[**(25) Can you add a 'select all'?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ25)
|
|
|
|
<a name="FAQ27"></a>
|
|
[**(27) How do I read the blocked traffic log?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ27)
|
|
|
|
<a name="FAQ28"></a>
|
|
[**(28) Why is Google connectivity services allowed internet access by default?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ28)
|
|
|
|
<a name="FAQ29"></a>
|
|
[**(29) Why do I get 'The item you requested is not available for purchase'?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ29)
|
|
|
|
<a name="FAQ30"></a>
|
|
[**(30) Can I also run AFWall+ on the same device?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ30)
|
|
|
|
<a name="FAQ31"></a>
|
|
[**(31) Why can some applications be configured as a group only?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ31)
|
|
|
|
<a name="FAQ32"></a>
|
|
[**(32) Why is the battery/network usage of NetGuard so high**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ32)
|
|
|
|
<a name="FAQ33"></a>
|
|
[**(33) Can you add profiles?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ33)
|
|
|
|
<a name="FAQ34"></a>
|
|
[**(34) Can you add the condition 'when on foreground'?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ34)
|
|
|
|
<a name="FAQ35"></a>
|
|
[**(35) Why does the VPN not start?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ35)
|
|
|
|
<a name="FAQ36"></a>
|
|
[**(36) Can you add PIN or password protection?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ36)
|
|
|
|
<a name="FAQ37"></a>
|
|
[**(37) Why are the pro features so expensive?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ37)
|
|
|
|
<a name="FAQ38"></a>
|
|
[**(38) Why did NetGuard stop running?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ38)
|
|
|
|
<a name="FAQ39"></a>
|
|
[**(39) How does a VPN based firewall differ from a iptables based firewall?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ39)
|
|
|
|
<a name="FAQ40"></a>
|
|
[**(40) Can you add schedules?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ40)
|
|
|
|
<a name="FAQ41"></a>
|
|
[**(41) Can you add wildcards?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ41)
|
|
|
|
<a name="FAQ42"></a>
|
|
[**(42) Why is permission ... needed?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ42)
|
|
|
|
<a name="FAQ43"></a>
|
|
[**(43) I get 'This app is causing your device to run slowly'**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ43)
|
|
|
|
<a name="FAQ44"></a>
|
|
[**(44) I don't get notifications on access**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ44)
|
|
|
|
Support
|
|
-------
|
|
|
|
For questions, feature requests and bug reports, please [use this XDA-Developers forum thread](http://forum.xda-developers.com/showthread.php?t=3233012)
|
|
|
|
**There is no support on ad blocking.**
|
|
|
|
Contributing
|
|
------------
|
|
|
|
*Building*
|
|
|
|
Building is simple, if you install the right tools:
|
|
|
|
* [Android Studio 2.1](http://developer.android.com/sdk/)
|
|
* [Android NDK r12](http://developer.android.com/tools/sdk/ndk/)
|
|
|
|
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](https://github.com/M66B/NetGuard/releases).
|
|
|
|
*Translating*
|
|
|
|
* Translations to other languages are welcomed
|
|
* You can translate online [here](https://crowdin.com/project/netguard/)
|
|
* 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](https://crowdin.com/project/netguard).
|
|
|
|
Please note that you agree to the license below by contributing, including the copyright.
|
|
|
|
Attribution
|
|
-----------
|
|
|
|
NetGuard uses:
|
|
|
|
* [Picasso](http://square.github.io/picasso/)
|
|
* [Android Support Library](https://developer.android.com/tools/support-library/index.html)
|
|
|
|
License
|
|
-------
|
|
|
|
[GNU General Public License version 3](http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
Copyright (c) 2015-2016 Marcel Bokhorst ([M66B](http://forum.xda-developers.com/member.php?u=2799345))
|
|
|
|
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/](http://www.gnu.org/licenses/).
|
|
|
|
Trademarks
|
|
----------
|
|
|
|
*Android is a trademark of Google Inc. Google Play is a trademark of Google Inc*
|