1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-29 19:34:59 +00:00
NetGuard/FAQ.md

622 lines
33 KiB
Markdown
Raw Normal View History

2015-11-17 12:47:59 +00:00
NetGuard
========
Please scroll down if you want to ask a question, request a feature, or report a bug.
2015-11-18 07:17:25 +00:00
2015-11-17 12:47:59 +00:00
Frequently Asked Questions (FAQ)
--------------------------------
2015-11-29 07:24:20 +00:00
<a name="FAQ0"></a>
2015-11-29 10:43:07 +00:00
**(0) How do I use NetGuard?**
2015-11-29 07:24:20 +00:00
2017-06-03 17:39:00 +00:00
* Enable the NetGuard firewall using the switch in NetGuard's action bar
* Allow (greenish\*) or deny (reddish\*) Wi-Fi or mobile internet access using the icons next to an application name in NetGuard's applications list
2015-11-29 07:24:20 +00:00
2017-06-03 17:39:00 +00:00
You can use *Settings > Defaults* to change from block/blacklist mode (disable *Block Wi-Fi* and *Block mobile*, and then block unwanted applications in NetGuard's applications list) to allow/whitelist mode (enable *Block Wi-Fi* and *Block mobile*, and then allow desired applications in NetGuard's applications list).
2015-11-29 10:43:07 +00:00
2017-06-03 17:39:00 +00:00
\* Depending on the theme you use, the icons may be:
* Allowed (internet access permitted): greenish (teal) / blue / purple / gray
* Blocked (internet access denied): reddish (salmon) / orange / yellow / amber
2015-11-29 07:24:20 +00:00
2015-11-17 12:47:59 +00:00
<a name="FAQ1"></a>
**(1) Can NetGuard completely protect my privacy?**
No - nothing can completely protect your privacy.
NetGuard will do its best, but it is limited by the fact it must use the VPN service.
This is the trade-off required to make a firewall which does not require root access.
The firewall can only start when Android "allows" it to start,
so it will not offer protection during early boot-up (although you can disable your network before rebooting).
It will, however, be much better than nothing.
2015-11-17 12:47:59 +00:00
Android N allows NetGuard to be an [Always-On VPN](https://developer.android.com/preview/features/afw.html#always-on-vpn).
2016-06-26 11:03:54 +00:00
To protect yourself more, remember to disable Wi-Fi and mobile data before rebooting,
and only enable them on reboot, after the firewall service has started (and the key icon is visible in the status bar).
2015-11-17 12:47:59 +00:00
Thanks @[pulser](https://github.com/pulser/)
<a name="FAQ2"></a>
2015-11-17 14:29:59 +00:00
**(2) Can I use another VPN application while using NetGuard**
2015-11-17 12:47:59 +00:00
If the VPN application is using the [VPN service](http://developer.android.com/reference/android/net/VpnService.html),
then no, because NetGuard needs to use this service. Android allows only one application at a time to use this service.
2017-04-14 12:13:02 +00:00
NetGuard is a firewall application, so there is no intention to add VPN support.
However, NetGuard supports a [SOCKS5 proxy](https://en.wikipedia.org/wiki/SOCKS) to chain VPN applications.
2015-11-17 12:47:59 +00:00
<a name="FAQ3"></a>
**(3) Can I use NetGuard on any Android version?**
2016-12-15 07:14:50 +00:00
No, the minimum required Android version is 4.0 (<a href= "https://developer.android.com/about/versions/android-4.0.html">ICE_CREAM_SANDWICH</a>)
2016-07-03 08:28:24 +00:00
because NetGuard uses the [Android VPN service](https://developer.android.com/reference/android/net/VpnService.html),
which was added in Android 4.0.
2015-11-17 12:47:59 +00:00
<a name="FAQ4"></a>
**(4) Will NetGuard use extra battery power?**
If you don't enable IP filtering or the network speed graph notification, probably not.
2015-11-17 12:47:59 +00:00
The battery usage when IP filtering is enabled depends on the quality of your Android VPN service implementation and the efficiency of the CPU of your device.
Generally the battery usage on older devices might be unacceptable, yet hardly noticeable on modern devices with an efficient CPU.
The network speed graph notification will use extra battery power.
2015-12-14 07:33:04 +00:00
This is why the notification is shown only when the screen is on.
You can decrease the update frequency using the settings to reduce the battery usage.
2017-04-10 16:53:50 +00:00
Note that Android often (incorrectly) contribute battery usage of other applications to NetGuard,
because the network traffic of other applications is flowing through NetGuard.
2015-11-17 12:47:59 +00:00
<a name="FAQ6"></a>
**(6) Will NetGuard send my internet traffic to an external (VPN) server?**
2016-02-19 10:50:29 +00:00
No, depending on the mode of operation basically one of two things will happen with your internet traffic:
* When IP filtering is disabled, blocked internet traffic will be routed into the local VPN which will operate as a sinkhole (in effect dropping all blocked traffic)
* When IP filtering is enabled, both blocked and allowed internet traffic will be routed into the local VPN and only allowed traffic will be forwarded to the intended destination (and not to a VPN server)
2015-11-17 12:47:59 +00:00
The [Android VPN service](http://developer.android.com/reference/android/net/VpnService.html) is being used to locally route all internet traffic to NetGuard so no root is required to build this firewall application.
NetGuard, unlike all other no-root firewalls applications, is 100% open source, so when you are in doubt you can check [the source code](https://github.com/M66B/NetGuard/) yourself.
2016-04-24 05:18:22 +00:00
2015-11-17 12:47:59 +00:00
<a name="FAQ7"></a>
**(7) Why are applications without internet permission shown?**
Internet permission can be granted with each application update without user consent.
By showing all applications, NetGuard allows you to control internet access even *before* such an update occurs.
2015-11-17 12:47:59 +00:00
<a name="FAQ8"></a>
2015-11-29 15:56:29 +00:00
**(8) What do I need to enable for the Google Play™ store app to work?**
2015-11-17 12:47:59 +00:00
You need 3 packages (applications) enabled (use search in NetGuard to find them quickly):
2016-03-01 17:33:21 +00:00
* com.android.vending (Play store)
* com.google.android.gms (Play services)
* com.android.providers.downloads (Download manager)
2015-11-17 12:47:59 +00:00
2015-11-29 15:56:29 +00:00
Since the Google Play™ store app has a tendency to check for updates or even download them all by itself (even if no account is associated),
2015-11-17 12:47:59 +00:00
one can keep it in check by enabling "*Allow when device in use*" for all 3 of these packages.
Click on the down arrow on the left side of an application name and check that option,
but leave the network icons set to red (hence blocked). The little human icon will appear for those packages.
2015-11-17 12:47:59 +00:00
Note that NetGuard does *not* require any Google service to be installed.
2016-04-16 10:42:32 +00:00
2015-11-17 12:47:59 +00:00
<a name="FAQ9"></a>
2015-11-17 14:29:59 +00:00
**(9) Why is the VPN service being restarted?**
2015-11-17 12:47:59 +00:00
The VPN service will be restarted when you turn the screen on or off and when connectivity changes (Wi-Fi, mobile)
to apply the rules with the conditions *'Allow when screen is on'* and *'Block when roaming'*.
2015-11-17 12:47:59 +00:00
2016-03-09 07:19:10 +00:00
See [here](http://forum.xda-developers.com/showpost.php?p=65723629&postcount=1788) for more details.
2015-11-17 12:47:59 +00:00
<a name="FAQ10"></a>
**(10) Will you provide a Tasker plug-in?**
No, because if Tasker is allowed to disable NetGuard, any application can disable NetGuard.
Allowing a security application to be disabled by other applications is not a good idea.
2015-11-17 12:47:59 +00:00
<a name="FAQ13"></a>
**(13) How can I remove the ongoing NetGuard entry in the notification screen?**
* Long click the NetGuard notification
* Tap the 'i' icon
* Depending on your device and/or ROM manufacturer's software customizations, you can be directed to either:
2015-11-17 12:47:59 +00:00
* the **App Info** screen and you can uncheck '*Show notifications*' and agree to the next dialog
* the **App Notifications** screen and you can toggle the '*Block*' slider to on
2016-01-06 14:20:14 +00:00
Note that, whether or not you get a dialog warning to agree upon,
this operation will also disable any information or warning notifications from NetGuard,
such as the new application installed notification.
2015-11-17 12:47:59 +00:00
To read about the need for the notification in the first place, see [question 24](#FAQ24).
2015-11-29 10:43:07 +00:00
2016-04-16 10:42:32 +00:00
Some Android versions display an additional notification, which might include a key icon.
This notification, unfortunately, cannot be removed.
2016-04-16 10:42:32 +00:00
2015-11-17 12:47:59 +00:00
<a name="FAQ14"></a>
**(14) Why can't I select OK to approve the VPN connection request?**
2016-03-28 09:36:39 +00:00
There might be another (invisible) application on top of the VPN connection request dialog.
Some known (screen dimming) applications which can cause this are *Lux Brightness*, *Night Mode*, and *Twilight*.
To avoid this problem, at least temporarily, close all applications and/or services which may be running in the background.
2015-11-17 12:47:59 +00:00
<a name="FAQ15"></a>
2015-11-17 14:29:59 +00:00
**(15) Why won't you support the F-Droid builds?**
2015-11-17 12:47:59 +00:00
Because F-Droid doesn't support reproducible builds.
Read [here](https://blog.torproject.org/blog/deterministic-builds-part-one-cyberwar-and-global-compromise) why this is important.
2016-03-06 12:08:46 +00:00
Another reason is that F-Droid builds are more often than not outdated, leaving users with an old version with known bugs.
2015-11-17 12:47:59 +00:00
<a name="FAQ16"></a>
**(16) Why are some applications shown dimmed?**
Disabled applications and applications without internet permission are shown dimmed.
<a name="FAQ17"></a>
**(17) Why is NetGuard using so much memory?**
It isn't. NetGuard doesn't allocate any memory, except a little for displaying the user interface elements.
2017-06-23 14:48:30 +00:00
It appears, on some Android variants, that the Google Play™ store app connection uses almost 150 MB. It is needed for in-app donations,
and is incorrectly attributed to NetGuard instead to the Google Play™ store app.
2015-11-17 12:47:59 +00:00
<a name="FAQ18"></a>
2015-11-29 15:56:29 +00:00
**(18) Why can't I find NetGuard in the Google Play™ store app?**
2015-11-17 12:47:59 +00:00
NetGuard requires at least Android 4.0, so it is not available in the Google Play™ store app on devices running prior Android versions.
2015-11-17 12:47:59 +00:00
<a name="FAQ19"></a>
2016-07-29 02:28:25 +00:00
**(19) Why does application XYZ still have internet access?**
2015-11-17 12:47:59 +00:00
If you block internet access for an application, there is no way around it.
2016-08-28 08:35:41 +00:00
However, applications could access the internet through other (system) applications.
For example, Google Play services handles incoming push messages for most applications.
2015-11-17 12:47:59 +00:00
You can prevent this by blocking internet access for the other application as well.
This can best be diagnosed by checking the global access log (three dot menu, *Show log*).
2015-11-17 12:47:59 +00:00
2016-03-28 09:36:39 +00:00
Note that some applications keep trying to access the internet, which is done by sending a connection request packet.
2016-01-03 08:10:12 +00:00
This packet goes into the VPN sinkhole when internet access for the application is blocked.
2016-03-28 09:36:39 +00:00
This packet consists of less than 100 bytes and is counted by Android as outgoing traffic
2016-01-03 08:10:12 +00:00
and will be visible in the speed graph notification as well.
2015-11-17 12:47:59 +00:00
<a name="FAQ20"></a>
2015-11-17 14:29:59 +00:00
**(20) Can I Greenify/hibernate NetGuard?**
2015-11-17 12:47:59 +00:00
No. [Greenifying](https://play.google.com/store/apps/details?id=com.oasisfeng.greenify)
or otherwise hibernating NetGuard will result in rules not being applied
when connectivity changes from Wi-Fi/mobile, screen on/off, and roaming/not roaming.
2015-11-23 13:23:35 +00:00
<a name="FAQ21"></a>
**(21) Does doze mode affect NetGuard?**
I am not sure, because the [doze mode documentation](http://developer.android.com/training/monitoring-device-state/doze-standby.html)
2016-03-15 07:05:48 +00:00
is not clear if the [Android VPN service](http://developer.android.com/reference/android/net/VpnService.html) will be affected.
To be sure, you can disable battery optimizations for NetGuard manually like this:
2015-11-23 13:23:35 +00:00
```
Android settings > Battery > three dot menu > Battery optimizations > Dropdown > All apps > NetGuard > Don't optimize > Done
```
The procedure to accomplish this can vary between devices.
2017-06-23 14:48:30 +00:00
Disabling doze mode for NetGuard cannot be done from within NetGuard
because, according to Google, NetGuard is [not an application type allowed to do this](http://developer.android.com/training/monitoring-device-state/doze-standby.html#whitelisting-cases).
2015-11-23 13:23:35 +00:00
2015-11-23 17:20:32 +00:00
<a name="FAQ22"></a>
2015-12-25 07:36:13 +00:00
**(22) Can I tether / use Wi-Fi calling while using NetGuard?**
2015-11-23 17:20:32 +00:00
Yes, but this needs to be enabled in NetGuard's settings.
2017-06-23 14:48:30 +00:00
Whether or not it works depends on your Android version
because some Android versions have a bug preventing tethering and the VPN service working together.
2015-11-23 17:20:32 +00:00
Some devices hibernate Wi-Fi, preventing tethering from working when the screen is off.
2016-03-11 06:34:54 +00:00
This behavior can be disabled in the Android enhanced/advanced Wi-Fi settings.
2015-11-29 07:24:20 +00:00
<a name="FAQ24"></a>
2015-11-29 20:08:49 +00:00
**(24) Can you remove the notification from the status bar?**
2015-11-29 07:24:20 +00:00
Android can kill background services at any time.
This can only be prevented by turning a background service into a foreground service.
Android requires an ongoing notification for all foreground services
2016-03-01 17:33:21 +00:00
to make you aware of potential battery usage (see [question 4](#FAQ4)).
2015-11-29 07:24:20 +00:00
So, the notification cannot be removed without causing instability.
However, the notification is being marked as low priority,
which should result in moving it to the bottom of the list.
2015-11-29 07:24:20 +00:00
2016-03-16 07:47:41 +00:00
The key icon and/or the VPN running notification,
which is shown by Android and not by NetGuard, unfortunately, cannot be removed.
The [Google documentation](http://developer.android.com/reference/android/net/VpnService.html) states:
*"A system-managed notification is shown during the lifetime of a VPN connection"*.
2016-03-16 07:47:41 +00:00
2015-12-26 07:34:18 +00:00
<a name="FAQ25"></a>
**(25) Can you add a 'Select All' function?**
2015-12-26 07:34:18 +00:00
There is no need for a 'Select All' function
because you can switch from block (blacklist) to allow (whitelist) mode using Netguard's settings.
2015-12-26 07:34:18 +00:00
See also [question 0](#FAQ0).
2016-01-08 18:07:58 +00:00
<a name="FAQ27"></a>
**(27) How do I read the blocked traffic log?**
The columns have the following meanings:
2016-01-08 18:07:58 +00:00
2016-01-22 10:28:29 +00:00
1. Time (tap on a log entry to see the date)
1. Application icon (tap on a log entry to see the application name)
2016-03-02 17:50:41 +00:00
1. Application UID
2016-01-22 10:28:29 +00:00
1. Wi-Fi / mobile connection, green=allowed, red=blocked
1. Interactive state (screen on or off)
2016-01-22 10:28:29 +00:00
1. Protocol (see below) and packet flags (see below)
1. Source and destination port (tap on a log entry to lookup a destination port)
1. Source and destination IPv4 or IPv6 address (tap on a log entry to lookup a destination IP address)
1. Organization name owning the IP address (needs to be enabled via the menu)
2016-01-22 10:28:29 +00:00
2016-01-08 18:07:58 +00:00
Protocols:
2017-07-24 05:16:16 +00:00
* HOPO ([IPv6 Hop-by-Hop Option](https://en.m.wikipedia.org/wiki/IPv6_packet#Hop-by-hop_options_and_destination_options))
* ICMP
2016-04-16 10:42:32 +00:00
* IGMP
* ESP (IPSec)
* TCP
* UDP
* Number = one of the protocols in [this list](https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers)
2016-01-26 08:09:00 +00:00
* 4 = IPv4
* 6 = IPv6
2016-01-08 18:07:58 +00:00
Packet flags:
* S = SYN
* A = ACK
* P = PSH
* F = FIN
* R = RST
For a detailed explanation see [here](https://en.wikipedia.org/wiki/Transmission_Control_Protocol).
Only TCP, UDP, and ICMP ping traffic can be routed through the Android VPN service.
2017-03-12 16:25:00 +00:00
All other traffic will be dropped and will be shown as blocked in the global traffic log.
This is almost never a problem on an Android device.
2016-01-09 15:38:07 +00:00
<a name="FAQ28"></a>
**(28) Why is Google connectivity services allowed internet access by default?**
The Google connectivity services system application checks if the current network is really connected to the internet.
2017-06-02 18:10:18 +00:00
This is probably accomplished by briefly connecting to some Google server.
2016-01-09 15:38:07 +00:00
If this is not the case, there will be an '!' in the Wi-Fi or mobile icon in the system status bar.
Recent Android versions seem not to switch connectivity from mobile to Wi-Fi when the Wi-Fi network is not really connected,
2016-03-02 17:50:41 +00:00
even though there is a connection to the Wi-Fi network (or the other way around). On Android 6.0 and later you might get a notification asking you if you want to keep this connection on or not.
2017-06-02 18:10:18 +00:00
To prevent a bad user experience, NetGuard includes a predefined rule to default allow the Google connectivity services.
2016-01-09 15:38:07 +00:00
You can find all predefined rules [here](https://github.com/M66B/NetGuard/blob/master/app/src/main/res/xml/predefined.xml).
You can override predefined rules.
2016-01-21 12:50:53 +00:00
<a name="FAQ29"></a>
**(29) Why do I get 'The item you requested is not available for purchase'?**
2017-06-02 18:10:18 +00:00
You can only purchase pro features when you have installed NetGuard from the Google Play store.
2016-01-21 12:50:53 +00:00
<a name="FAQ30"></a>
**(30) Can I also run AFWall+ on the same device?**
2016-02-21 15:50:56 +00:00
Unless you are just testing NetGuard, there is no current reason to use them both, since they cover the same function (firewall),
2017-06-02 18:10:18 +00:00
although with different base needs (AFWall+ needs a rooted device) and ways of doing their thing (AFWall+ uses iptables whereas NetGuard uses a VPN).
2017-06-02 18:10:18 +00:00
Also you need to keep per application access rules _always_ in sync between AFWall+ and NetGuard,
2016-02-21 15:50:56 +00:00
else the application will not be able to access the network,
2017-06-02 18:10:18 +00:00
hence bringing another level of complexity when setting and assuring everything work as expected.
2017-06-02 18:10:18 +00:00
Some pointers on how to set up AFWall+ to be used simultaneously with NetGuard:
* if not using filtering in NetGuard, applications _need_ direct internet access (Wi-Fi and/or mobile) in AFWall+
* if using filtering, NetGuard will _need_ internet access (Wi-Fi and/or mobile) in AFWall+
2017-06-02 18:10:18 +00:00
* if using filtering, when you un/reinstall NetGuard, remember to re-allow NetGuard in AFWall+
* if using filtering, applications _need_ VPN internet access (check the box to show that option in AFWall+ settings)
2016-03-02 10:13:12 +00:00
<a name="FAQ31"></a>
**(31) Why can some applications be configured as a group only?**
For many purposes, including network access, Android groups applications on UID and not on package/application name.
2017-06-02 18:10:18 +00:00
Especially system applications often have the same UID, despite having a different package and application name; these are set up like this by the ROM manufacturer at build time.
2016-03-02 10:13:12 +00:00
These applications can only be allowed/blocked access to the internet as a group.
2016-03-09 13:10:01 +00:00
<a name="FAQ32"></a>
**(32) Why is the battery/network usage of NetGuard so high?**
This is because Android counts battery and network usage which is normally counted for other applications
against NetGuard in IP filtering mode. The total battery usage is slightly higher when IP filtering mode is enabled.
2017-06-02 18:10:18 +00:00
IP filtering mode is always enabled on Android versions prior to 5.0, and optionally enabled on later Android versions.
2016-03-02 17:50:41 +00:00
2016-03-25 06:59:13 +00:00
<a name="FAQ33"></a>
**(33) Can you add profiles?**
Profiles are inconvenient because they need to be operated manually.
2017-06-02 18:10:18 +00:00
Conditions like '*When screen is on*' are, on the other hand, convenient because they work automatically.
Therefore profiles will not be added, but you are welcome to propose new conditions;
however, they need to be generally usable to be included.
2016-03-25 06:59:13 +00:00
As a workaround you can use the export/import function to apply specific settings in specific circumstances.
2017-06-02 18:10:18 +00:00
Alternatively, you can use lockdown mode as a profile.
2016-03-25 06:59:13 +00:00
2016-03-25 17:16:52 +00:00
<a name="FAQ34"></a>
2016-08-28 08:35:41 +00:00
**(34) Can you add a condition 'when on foreground' or 'when active'?**
2016-03-25 17:16:52 +00:00
2016-08-28 08:35:41 +00:00
Recent Android versions do not allow an application to query if other applications are in the foreground/background or active/inactive
2016-07-25 08:11:16 +00:00
without holding an [additional privacy violating permission](https://developer.android.com/reference/android/Manifest.permission.html#PACKAGE_USAGE_STATS)
2017-06-02 18:10:18 +00:00
and at the expense of extra battery usage (because periodic polling is required).
As a result, this cannot be added without significant disadvantages, like [this one](http://www.xda-developers.com/working-as-intended-an-exploration-into-androids-accessibility-lag/).
2016-07-25 08:11:16 +00:00
You can use the condition '*when screen is on*' instead.
2016-03-25 17:16:52 +00:00
2016-04-05 13:44:07 +00:00
<a name="FAQ35"></a>
**(35) Why does the VPN not start?**
NetGuard "asks" Android to start the local VPN service,
but some Android versions contain a bug which prevents the VPN from starting (automatically).
Sometimes this is caused by updating NetGuard.
2017-06-02 18:10:18 +00:00
Unfortunately this cannot be fixed by NetGuard.
You can try to restart your device and/or revoke the VPN permissions from NetGuard using the Android settings.
Sometimes it helps to uninstall and install NetGuard again (be sure to export your settings first!).
2016-04-05 13:44:07 +00:00
2016-04-06 05:34:16 +00:00
<a name="FAQ36"></a>
**(36) Can you add PIN or password protection?**
Since turning off the VPN service using the Android settings cannot be prevented,
there is little use in adding PIN or password protection.
2016-05-14 06:18:57 +00:00
<a name="FAQ37"></a>
**(37) Why are the pro features so expensive?**
The right question is "*why are there so many taxes and fees*":
* VAT: 25% (depending on your country)
* Google fee: 30%
* Income tax: 50%
So, what is left for the developer is just a fraction of what you pay.
2017-06-02 18:10:18 +00:00
Despite NetGuard being *really* a lot of work, only some of the convenience and advanced features need to be purchased,
2016-07-03 06:37:49 +00:00
which means that NetGuard is basically free to use
2017-06-02 18:10:18 +00:00
and that you don't need to pay anything to reduce your data usage, increase battery life, and increase your privacy.
2016-05-14 06:18:57 +00:00
2016-07-03 06:37:49 +00:00
Also note that most free applications will appear not to be sustainable in the end, whereas NetGuard is properly maintained and supported,
and that free applications may have a catch, like sending privacy sensitive information to the internet.
2016-05-14 06:18:57 +00:00
2016-07-26 07:18:01 +00:00
See [here](http://forum.xda-developers.com/showpost.php?p=67892427&postcount=3030) for some more information.
2016-06-30 13:04:44 +00:00
<a name="FAQ38"></a>
**(38) Why did NetGuard stop running?**
On most devices, NetGuard will keep running in the background with its foreground service.
On some devices (in particular some Samsung models), where there are lots of applications competing for memory, Android may still stop NetGuard as a last resort.
2017-06-02 18:10:18 +00:00
Unfortunately this cannot be fixed by NetGuard, and can be considered a shortcoming of the device and/or as a bug in Android.
2016-08-28 08:35:41 +00:00
You can workaround this problem by enabling the watchdog in the NetGuard advanced options to check every 10-15 minutes.
2016-06-30 13:04:44 +00:00
2016-07-27 05:17:55 +00:00
<a name="FAQ39"></a>
**(39) How does a VPN based firewall differ from a iptables based firewall?**
See this [Stack Exchange question](http://android.stackexchange.com/questions/152087/any-security-difference-between-root-based-firewall-afwall-and-non-root-based).
2016-08-28 08:35:41 +00:00
<a name="FAQ40"></a>
**(40) Can you add schedules?**
Besides not being trivial to add, schedules - in my opinion - are not a good idea, since time is not a good rule condition.
2016-08-28 08:35:41 +00:00
A rule condition like *When screen is on* is a better and more straightforward condition.
Therefore schedules will not be added, but you are welcome to propose other new conditions.
<a name="FAQ41"></a>
**(41) Can you add wildcards?**
2017-06-02 18:10:18 +00:00
Wildcards to allow/block addresses would have a significant performance and usability impact and therefore will not be added.
2016-08-28 08:35:41 +00:00
<a name="FAQ42"></a>
**(42) Why is permission ... needed?**
* 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](http://forum.xda-developers.com/showpost.php?p=64107371&postcount=489) 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 4.4 (KitKat) (there is no need to grant this permission on later Android versions)
2017-06-02 18:10:18 +00:00
* VIBRATE: to provide vibration feedback on widget tap
2016-08-28 08:35:41 +00:00
* BILLING: to use in-app billing
<a name="FAQ43"></a>
**(43) I get 'This app is causing your device to run slowly'**
2016-09-08 11:52:40 +00:00
This message is displayed by the *Smart Manager*,
2016-08-28 08:35:41 +00:00
but actually it is the 'Smart' Manager application itself which is causing delays and lags.
Some links:
* [Smart Manager complaining about LastPass](https://www.reddit.com/r/GalaxyS6/comments/3htu2y/smart_manager_cmoplaining_about_lastpass/)
* [Disable Smart Manager?](http://forums.androidcentral.com/samsung-galaxy-s4/595483-disable-smart-manager.html)
2016-09-23 14:37:42 +00:00
<a name="FAQ44"></a>
**(44) I don't get notifications on access**
To prevent a high number of status bar notifications, notify on access is done only once per domain name per application.
2017-06-02 18:10:18 +00:00
Access to domain names shown in the application access log (drill down in the NetGuard application settings) will not be notified again,
2016-09-23 14:37:42 +00:00
even if you just enabled notify on access.
2017-06-02 18:10:18 +00:00
To get notified for all domain names again, you can clear the application access log using the trashcan icon.
2016-09-23 14:37:42 +00:00
If you want to clear all applications logs, you can export and import your settings.
2016-10-12 11:05:37 +00:00
<a name="FAQ45"></a>
**(45) Does NetGuard handle incoming connections?**
The Android VPN service handles outgoing connections only (from applications to the internet), so incoming connections are normally left alone.
If you want to run a server application on Android, then be aware that using port numbers below 1024 require root permissions
2016-10-12 11:05:37 +00:00
and that some Android versions contain routing bugs, causing inbound traffic incorrectly being routed into the VPN.
2016-10-24 15:10:27 +00:00
<a name="FAQ46"></a>
**(46) Can I get a refund?**
If a purchased pro feature doesn't work [as described](https://www.netguard.me/) while the free features of NetGuard work properly,
2016-10-24 15:10:27 +00:00
and I cannot fix the issue in a timely manner, you can get a refund.
In all other cases there is no refund possible.
I take my responsibility as seller to deliver what has been promised and I expect that you take responsibility for informing yourself of what you are buying.
2016-10-24 15:10:27 +00:00
2016-11-01 21:33:06 +00:00
<a name="FAQ47"></a>
2017-06-02 18:10:18 +00:00
**(47) Why are there in-application advertisements?**
2016-11-01 21:33:06 +00:00
Developing NetGuard was quite a challenge and [really a lot of work](https://www.openhub.net/p/netguard/estimated_cost), but fun to do.
2017-06-02 18:10:18 +00:00
A good product deserves good support, which means, in practice, that I am spending 30-60 minutes each and every day answering questions and solving problems.
2016-11-01 21:33:06 +00:00
Just about 1 in 1000 downloaders purchase any of the pro features, so support is basically one way.
This is not maintainable in the long run and this is why advertisements were added.
Purchasing any of the pro features will completely disable advertisements and help keep the project going.
2016-11-10 11:26:40 +00:00
<a name="FAQ48"></a>
**(48) Why are some domain names blocked while they are set to be allowed?**
NetGuard blocks traffic based on the IP addresses an application is trying to connect to.
If more than one domain name is on the same IP, they cannot be distinguished.
If you set different rules for 2 domains which resolve to the same IP, both will be blocked.
Thanks @[pulser](https://github.com/pulser/)
2017-02-21 11:43:37 +00:00
Another potential problem is that Android doesn't honor the DNS TTL value and applies its own caching rules.
This could result in NetGuard too early or too late purging a DNS record from its own cache,
resulting in not recognizing an IP address or recognizing a wrong IP address.
You can try to workaround this by changing the DNS TTL value setting of NetGuard.
This value is used as a minimum DNS TTL value in an attempt to mimick the behavior of Android.
2017-02-14 11:58:55 +00:00
<a name="FAQ49"></a>
**(49) Does NetGuard encrypt my internet traffic / hide my IP address?**
NetGuard is a firewall application that filters internet traffic on your device (see also [this question](#FAQ6)),
so it is not meant to - and does not - encrypt your internet traffic or hide your IP address.
2017-02-14 11:58:55 +00:00
2017-03-05 10:42:58 +00:00
<a name="FAQ50"></a>
**(50) Will NetGuard automatically start on boot?**
2017-06-25 17:46:55 +00:00
Yes, NetGuard will automatically be started on boot if you powered off your device with NetGuard enabled and NetGuard is not installed on external storage.
Some devices, for example OnePlus and Mi devices, can prevent certain apps from auto-starting after reboot.
This can be disabled in the Android settings.
2017-03-05 10:42:58 +00:00
2017-03-05 19:57:33 +00:00
<a name="FAQ51"></a>
**(51) Why does NetGuard block all internet traffic?!**
2017-03-05 19:57:33 +00:00
Make sure you have put NetGuard on the doze exception list (Android 6 Marshmallow or later)
and that Android allows NetGuard to use the internet in the background (see also [this question](#FAQ21)).
2017-03-05 19:57:33 +00:00
Make sure you are not running NetGuard in allow (whitelist) mode (check the NetGuard default settings).
2017-03-05 19:57:33 +00:00
Some Android versions contain a bug resulting in all internet traffic being blocked.
Mostly, you can workaround this bug by enabling filtering in NetGuard's *Advamced options*.
2017-03-05 19:57:33 +00:00
2017-03-23 21:24:33 +00:00
<a name="FAQ52"></a>
**(52) What is lockdown mode?**
2017-06-02 18:10:18 +00:00
In lockdown mode, all traffic for all applictions will be blocked,
except for applications with the condition *'Allow in lockdown mode'* enabled.
You can use this mode to limit battery usage or network usage,
for example, when your battery is almost empty or when your data allotment is almost exhausted.
2017-03-23 21:24:33 +00:00
Note that system applications will only be blocked in this mode
when managing system applications is enabled in the advanced settings.
2017-06-02 18:10:18 +00:00
You can enable/disable lockdown mode in the main menu, using a widget, or using a settings tile (Android 7 Nougat or later).
2017-03-23 21:24:33 +00:00
2017-04-02 17:56:53 +00:00
<a name="FAQ53"></a>
2017-06-02 18:10:18 +00:00
**(53) The translation in my language is missing / incorrect / incomplete**
2017-04-02 17:56:53 +00:00
You can contribute translations [here](https://crowdin.com/project/netguard) (registration is free).
If your language is missing, please contact me to have it added.
2017-04-02 19:10:22 +00:00
<a name="FAQ54"></a>
2017-04-02 19:47:09 +00:00
**(54) How to tunnel all TCP connections through the Tor network?**
2017-04-02 19:10:22 +00:00
First, install [Orbot](market://details?id=org.torproject.android), the Android client for Tor,
run it, press _Start_, while it connects open its _Settings_ and make sure it's setup to auto-start
on device start.
2017-04-02 19:47:09 +00:00
In NetGuard's _Network options_ enable _Subnet routing_ and in _Advanced options_ toggle on
_Use SOCKS5 proxy_ with address 127.0.0.1 and port as 9050 (this is the default port, if you changed
this in Orbot make the adjustment here also).
2017-04-02 19:10:22 +00:00
This should be enough, if testing fails (eg. no connection at all) you can open the app details
for Orbot, uncheck _Apply rules and conditions_ and retry.
How to test: open Firefox (or another non-proxy enabled browser) to the address https://ipleak.net/
and you should see a different IP address from your regular one, and below in the _Tor Exit Node_
field something else besides _Unknown_.
**Be aware** that all the other Tor caveats (https://www.torproject.org/docs/faq.html.en) still apply,
like having the Tor network unreacheable, your activity actively monitored/targeted in your country,
online services (eg. Gmail, Google Play store) failing to login or being forced to solve endless capchas
2017-04-10 16:53:50 +00:00
when accessing sites that use Cloudflare's CDN services.
2017-04-02 19:10:22 +00:00
2017-05-01 14:44:54 +00:00
<a name="FAQ55"></a>
2017-07-23 10:30:34 +00:00
**(55) Why does NetGuard connect to Amazon / ipinfo.io / 216.239.34.21?**
2017-05-01 14:44:54 +00:00
2017-06-02 18:10:18 +00:00
NetGuard connects to Amazon / [ipinfo.io](https://ipinfo.io/) to show the names and organizations for IP addresses.
2017-05-01 14:44:54 +00:00
If you don't want this, just disable showing names and organizations using the three dot menu in the global log view.
2017-05-13 09:07:36 +00:00
<a name="FAQ56"></a>
2017-06-03 19:00:34 +00:00
**(56) Why does NetGuard allow all internet traffic?!**
2017-05-13 09:07:36 +00:00
2017-06-02 18:10:18 +00:00
NetGuard can block each and every application, even system applications and components.
2017-05-13 09:07:36 +00:00
2017-06-02 18:10:18 +00:00
NetGuard, by default, allows all traffic to prevent hard to find problems. You need to selectively block traffic yourself by tapping on the mobile or Wi-Fi icons.
2017-05-13 09:07:36 +00:00
2017-06-03 17:39:00 +00:00
Be aware that NetGuard will allow traffic to an application when the screen is on and the condition *'when screen on'* is enabled.
2017-05-13 09:07:36 +00:00
2017-05-18 04:44:51 +00:00
<a name="FAQ57"></a>
**(57) Why does NetGuard use so much data?**
Basically, NetGuard doesn't use data itself.
However, many Android versions incorrectly account data of other applications flowing through NetGuard to NetGuard instead of to the applications.
2017-05-18 04:44:51 +00:00
The data usage of other applications will be zero with NetGuard enabled in this case.
The total data usage of your device will be the same with and without NetGuard.
2017-05-18 04:44:51 +00:00
2017-06-23 14:48:30 +00:00
<a name="FAQ58"></a>
**(58) Why does loading the application list take a long time?**
The application list is provided by Android, so the loading speed depends mostly on the power of your device and on the efficiency of your Android version.
For example shortage of memory could lead to increased loading times, because memory needs to be freed, for example by pausing other applications.
In some circumstances, restricting system apps and system components is known to cause the application list to load slowly or not at all. The exact circumstances are unknown.
2017-07-02 07:23:12 +00:00
<a name="FAQ59"></a>
**(59) Can you help me restore my purchase?**
Google manages all purchases, so as developer I have no control over purchases.
So, the only thing I can do, is give some advice:
* Make sure you have an active internet connection
* Make sure you didn't block Google Play store / Play services
* Make sure you are logged in with the right Google account and that there is nothing wrong with your Google account
* Open the Play store application and wait at least a minute to give it time to synchronize with the Google servers
* Open NetGuard and navigate to the pro features screen; NetGuard will check the purchases again
Note that:
* Purchases are stored in the Google cloud and cannot get lost
* There is no time limit on purchases, so they cannot expire
* Google does not expose details (name, e-mail, etc) about buyers to developers
* An application like NetGuard cannot select which Google account to use
If you cannot solve the problem with the purchase, you will have to contact Google about it.
2017-07-13 06:05:11 +00:00
<a name="FAQ60"></a>
**(60) Why does IP (Wi-Fi) calling/SMS/MMS not work?**
Please see the [compatibility section](https://github.com/M66B/NetGuard/#compatibility) about this
(you might need to request the desktop version to see this section if you are using a mobile device).
2017-07-21 04:51:09 +00:00
<a name="FAQ61"></a>
**(61) Help, NetGuard crashed!**
2017-07-23 10:30:34 +00:00
NetGuard rarely crashes ("unexpectedly stopped"), but if it crashed (which is something different than being stopped by Android, see [this FAQ](#FAQ38)),
then it is mostly caused by bugs in your Android version
2017-07-21 04:51:09 +00:00
(either in the [Android VPN service](https://developer.android.com/reference/android/net/VpnService.html) implementation or in the [Android Linux kernel](https://developer.android.com/guide/platform/index.html#linux-kernel)).
I am happy to check what the cause of a crash is and I will fix it whenever possible, but I need a logcat captured from your PC with the crash log for this.
Since logcats are mostly quite large, I will need the exact time of the crash as well.
If you don't know how to capture a logcat from your PC, please use your favorite search engine to find one of the numerous guides.
2015-11-23 13:29:58 +00:00
<br />
**NetGuard is supported for phones and tablets only, so not for other device types like televisions or vehicles.**
2017-01-08 10:14:50 +00:00
2017-03-24 07:18:10 +00:00
**If you didn't find the answer to your question, you can ask your questions [in this forum](http://forum.xda-developers.com/showthread.php?t=3233012) or contact me by using [this contact form](https://contact.faircode.eu/)**.