1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-25 01:07:52 +00:00
No description
Find a file
2016-03-25 08:07:06 +01:00
app Increase TCP idle timeout from 5 minutes to 1 hour 2016-03-25 08:07:06 +01:00
gradle/wrapper Upgrade to Gradle experimental plugin 0.6.0-alpha5 2016-02-07 14:27:18 +01:00
playstore Remove port forwarding when installed from the Play store 2016-03-08 12:09:30 +01:00
screenshots Updated screenshots, cleanup 2016-02-25 11:31:43 +01:00
tools Added crowdin sync script 2016-03-20 09:43:04 +01:00
.gitignore Added crowdin sync script 2016-03-20 09:43:04 +01:00
ADBLOCKING.md Updated ad blocking instructions 2016-03-21 10:00:20 +01:00
build.gradle Update gradle version 2016-03-17 01:38:20 +02:00
FAQ.md Added FAQ 2016-03-25 07:59:13 +01:00
gradle.properties Initial commit 2015-10-24 20:01:55 +02:00
gradlew Initial commit 2015-10-24 20:01:55 +02:00
gradlew.bat Initial commit 2015-10-24 20:01:55 +02:00
LICENSE
NetGuard.iml Initial commit 2015-10-24 20:01:55 +02:00
README.md Merge branch 'master' of github.com:M66B/NetGuard 2016-03-25 08:01:16 +01:00
settings.gradle Initial commit 2015-10-24 20:01:55 +02:00

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
  • No advertisements
  • 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

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:

Downloads:

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 allowd

For more screenshots, see here.

Compatibility

NetGuard will crash when the package com.android.vpndialogs has been removed or otherwise is unavailable.

Frequently Asked Questions (FAQ)

(0) How do I use NetGuard?

(1) Can NetGuard completely protect my privacy?

(2) Can I use another VPN application while using NetGuard?

(3) Can I use NetGuard on any Android version?

(4) Will NetGuard use extra battery power?

(6) Will NetGuard send my internet traffic to an external (VPN) server?

(7) Why are applications without internet permission shown?

(8) What do I need to enable for the Google Play™ store app to work?

(9) Why is the VPN service being restarted?

(10) Will you provide a Tasker plug-in?

(13) How can I remove the ongoing NetGuard entry in the notification screen?

(14) Why can't I select OK to approve the VPN connection request?

(15) Why won't you support the F-Droid builds?

(16) Why are some applications shown dimmed?

(17) Why is NetGuard using so much memory?

(18) Why can't I find NetGuard in the Google Play™ store app?

(19) Why does aplication XYZ still have internet access?

(20) Can I Greenify/hibernate NetGuard?

(21) Does doze mode affect NetGuard?

(22) Can I tether / use Wi-Fi calling while using NetGuard?

(24) Can you remove the notification from the status bar?

(25) Can you add a 'select all'?

(27) How do I read the blocked traffic log?

(28) Why is Google connectivity services allowed internet access by default?

(29) Why do I get 'The item you requested is not available for purchase'?

(30) Can I also run AFWall+ on the same device?

(31) Why can some applications be configured as a group only?

(32) Why is the battery/network usage of NetGuard so high

(33) Can you add profiles?

Permissions

  • INTERNET ('Full network access'): to forward allowed (filtered) traffic to the internet
  • ACCESS_NETWORK_STATE ('View network connections'): to check if the device is connected to the internet through Wi-Fi
  • READ_PHONE_STATE ('Device ID & call information'): to detect mobile network changes, see here for more details
  • ACCESS_WIFI_STATE ('Wi-Fi connection information'): to detect Wi-Fi network changes
  • RECEIVE_BOOT_COMPLETED ('Run at startup'): to start the firewall when booting the device
  • WAKE_LOCK ('Prevent device from sleeping'): to reliably reload rules in the background on connectivity changes
  • READ/WRITE_EXTERNAL_STORAGE ('Photos/Media/Files'): to export/import settings on Android versions before 5.0 (Lollipop) (there is no need to grant this permission on later Android versions)
  • com.android.vending.BILLING: to use in-app billing

Support

Please do not use GitHub for questions.

Contributing

Building

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. It builds fine on Linux so one can use VirtualBox + Lubuntu + Android Studio package to get a VM setup that is known to be working. If you cannot build yourself, there are prebuilt versions of NetGuard available here.

Translating

  • 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.

Attribution

NetGuard uses:

License

GNU General Public License version 3

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/.

Trademarks

Android is a trademark of Google Inc. Google Play is a trademark of Google Inc