• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][6.0+] NetGuard - No-root firewall

What are you mainly using NetGuard for?

  • Reducing data usage

    Votes: 447 30.8%
  • Saving battery

    Votes: 311 21.4%
  • Increasing privacy

    Votes: 795 54.8%
  • Blocking ads

    Votes: 936 64.5%

  • Total voters
    1,452
Search This thread

fraschi51

Senior Member
Mar 17, 2016
1,061
332
Or because an Internet connection is not even necessary for this ... Google Maps, for example, also works with offline maps.
 

M66B

Recognized Developer
Aug 1, 2010
25,135
52,642
Or because an Internet connection is not even necessary for this ... Google Maps, for example, also works with offline maps.
I am a fan of osmand, which will have Android Auto support in the upcoming version 4.1

Supposed you are driving, for example in a foreign country, and the internet connection stops, for example because there is no coverage or because your data bundle is exhausted, you might get lost! You won't have this problem with osmand because maps are downloaded to your device.

Edit: in addition: why does Google need to know where I go?
 
Last edited:

fraschi51

Senior Member
Mar 17, 2016
1,061
332
I am a fan of osmand, which will have Android Auto support in the upcoming version 4.1

Supposed you are driving, for example in a foreign country, and the internet connection stops, for example because there is no coverage or because your data bundle is exhausted, you might get lost! You won't have this problem with osmand because maps are downloaded to your device.

Edit: in addition: why does Google need to know where I go?
Google Maps was just an example ... it applies of course just as well to other Navi programs, for which you can download the maps in advance.
BTW: When I tried OSMand some time ago, it took forever if you wanted to determine a long, eg 500 km long, route - therefore not really useful for my needs.
 

M66B

Recognized Developer
Aug 1, 2010
25,135
52,642
Google Maps was just an example ... it applies of course just as well to other Navi programs, for which you can download the maps in advance.
BTW: When I tried OSMand some time ago, it took forever if you wanted to determine a long, eg 500 km long, route - therefore not really useful for my needs.
Try it again, I believe this was fixed.
 

The DZEdge

Member
Nov 15, 2015
5
2
Hi Marcel. @M66B I am a longtime user of the Pro GitHub version of NetGuard. I am grateful for this app. You have a 5 star rating from me on Play Store. I value your support of NetGuard.
I encourage you to focus on and draw energy from your positive and friendly users. Please don't allow the ignorance or foul attitude of a few to affect you or negatively impact your friendly user base. In the Play Store, there's over 23K reviews and the overall score equates to almost 90% approval rating. That's Awesome! It's been awhile since I donated so, I just donated again via PayPal. I hope you take all I've said as it is intended... a word of encouragement. Thank you for creating NetGuard, it's development and support over time.

I'd like to encourage others to periodically donate and send words of encouragement for the tireless support of this app and it's continued development.
 
  • Like
Reactions: M66B

fraschi51

Senior Member
Mar 17, 2016
1,061
332
Try it again, I believe this was fixed.
I have once only a relatively small route of about 170 km determined. On the one hand, even this took quite a bit longer than with comparable apps - and in addition, the route suggestion was not really useful. Maybe you can still adjust it, but I would have found it good if equal to even more alternative routes would be suggested.
 

iwanttoknow

Senior Member
Jun 21, 2016
481
93
Many Navi-Apps with offline maps work fine without internet connection.
Yes you're right. But with new version (it was ok before) of HERE WeGo which works offline, it doesn't work when NetGuard is activated and works otherwise. It's why I asked my questions. I think there's a link with NetGuard even if the smartphone is not connected to Internet (WiFi and Data mobile are off).

Unfortunately I don't have technical skills but I have a lot of logic and I always want to understand. I want to know ;-)

Thanks in advance for your reply.
 

fraschi51

Senior Member
Mar 17, 2016
1,061
332
Yes you're right. But with new version (it was ok before) of HERE WeGo which works offline, it doesn't work when NetGuard is activated and works otherwise. It's why I asked my questions. I think there's a link with NetGuard even if the smartphone is not connected to Internet (WiFi and Data mobile are off).
Are there any URLs logged in such a situation?
 

iwanttoknow

Senior Member
Jun 21, 2016
481
93
In that case it is likely caused by a problem in the navigation app. It doesn't need internet, there is no internet and it still doesn't work. That's just odd.
But why HERE WeGo works without being connected to Internet, and when NetGuard is not activated or if NetGuard is activated with rules and conditions not activated for this application ?
 

La_Globule

Senior Member
Nov 6, 2007
428
157
Maybe NG doesn't give the same response code to the app as Android does when there is no network connectivity...
 
Last edited:

M66B

Recognized Developer
Aug 1, 2010
25,135
52,642
But why HERE WeGo works without being connected to Internet, and when NetGuard is not activated or if NetGuard is activated with rules and conditions not activated for this application ?
You'll have to ask the author of the app. If there is no internet connection required for the app, using NetGuard or blocking/allowing the app with NetGuard shouldn't have any effect on the app.
 

iwanttoknow

Senior Member
Jun 21, 2016
481
93
You'll have to ask the author of the app. If there is no internet connection required for the app, using NetGuard or blocking/allowing the app with NetGuard shouldn't have any effect on the app.
As you wrote, that's just odd. What is not logical is that there's an issue when using NetGuard with app HERE WeGo and no Internet connection.

Is it because the application goes through the Android VPN ?
 

maybeme2

Senior Member
Aug 28, 2015
2,227
679
Google Pixel 5
As you wrote, that's just odd. What is not logical is that there's an issue when using NetGuard with app HERE WeGo and no Internet connection.

Is it because the application goes through the Android VPN ?
It sounds to me that the app developer is the person to know and to ask.
Ask the app developer why his app behavior is that way when internet access is blocked for real.
 

iwanttoknow

Senior Member
Jun 21, 2016
481
93
It sounds to me that the app developer is the person to know and to ask.
Ask the app developer why his app behavior is that way when internet access is blocked for real.
You are right, however I am afraid that the developer of HERE WeGo will also ask me to contact the developer of NetGuard, telling me that his application works without NetGuard.
 

Arjab

Member
Aug 13, 2015
31
1
I just discovered the setting to ignore EU-Roaming and it made roaming work on my device. But I don't quite get, what it's ignoring. Could somebody elaborate it to me please? What rules are being ignored?
 

M66B

Recognized Developer
Aug 1, 2010
25,135
52,642
I just discovered the setting to ignore EU-Roaming and it made roaming work on my device. But I don't quite get, what it's ignoring. Could somebody elaborate it to me please? What rules are being ignored?
Normally, connections will be blocked when there is a roaming internet connection to prevent high bills. If you are in the EU, this isn't relevant anymore. The EU roaming option will allow connections when roaming, if your sim card is an EU sim card and the network connection is an EU network connection.
 
  • Like
Reactions: lukval

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Version 2.300 is available on Bitbucket now.

    Download:
    https://bitbucket.org/M66B/netguard-test/downloads/NetGuard-v2.300-release.apk

    There will be no update notification for this preview release.

    Changelog:
    • Improved Android 12 compatibility
    • Removed subscriptions (due to new Play store policies)
    • Updated builds tools and translations
    All changes:

    https://github.com/M66B/NetGuard/compare/2.299...2.300?w=1
    2
    Hi Marcel,

    I understand that NetGuard is no more available on GitHub but on Bitbucket.

    Is this new version 2.300 a stable or beta version ? It's not indicated when trying downloading it.
    The Bitbucket version is a preview version. It will be made available on GitHub later.
    2
    Hi there,

    first of all a big thanks @M66B for Netguard. I almost immediately bought the premium version after I got my new phone and decided to try going root-less and replace AfWall+ with it for a while. And from what I can tell it runs perfectly fine since some months :)

    I really love the integrated ad-blocking feature and let Tasker update my blocklist via service intent. In that way, Netguard both replaces AfWall+ and my VPN to my Pi-Hole at home with only minimal restrictions (not being able to access my Shaarli instance at home for example if I am away), since the Wireguard app sadly does not support Socks5 :rolleyes:.

    I have one question though which I could not find in the app FAQ or in this thread: Is it also possible to append a local hosts file via a second service intent or shell command after the main hosts file has been updated?
    1
    Hi,
    NetGuard does not request access rights for storing data thus I can't grant permission. This is the same for all of my devices and it is working on the others.
    Is there some sort of if-then condition to enable or disable those buttons?
    Please read the res of the referenced FAQ too and skip the part of the storage permissions.

    The FAQ is for FairEmail, but the problem is similar.
    1
    Any chance for a root-version of NetGuard to get it working without VPN?
    Perhaps as Magisk module or donation-feature?


    Short notice: As I was looking for a firewall app I also found this one.
    It is using your app description. Perhaps just the description or also your codebase with different interface ui.
    I have no plans for a root version, sorry.

    The referenced app is most likely based on the code of NetGuard, without permissions ...
  • 348
    ic_launcher.png


    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

    Features:
    • Simple to use
    • No root required
    • 100% open source
    • No calling home
    • No tracking or analytics
    • No advertisements
    • Actively developed and supported
    • Android 5.1 and later supported
    • IPv4/IPv6 TCP/UDP supported
    • Tethering 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, except for clones, offering all these features.

    This XDA thread is about using the latest version of NetGuard.
    Off topic comments are allowed as long they are related to NetGuard and are in the general interest of the followers of this thread.

    Discussion of purchases is not allowed here, please contact me via here instead.

    NetGuard is being maintained and supported, but new features won't be added anymore.

    For ad blocking, see here. Ad blocking is provide "as-is".

    More information on Github:

    Downloads:

    Screenshots:
    101-main.png
    102-main-details.png

    103-main-access.png
    108-notifications.png


    For more screenshots, see here.






    XDA:DevDB Information
    NetGuard, App for all devices (see above for details)

    Contributors
    M66B
    Source Code: https://github.com/M66B/NetGuard/


    Version Information
    Status: Stable

    Created 2015-10-25
    Last Updated 2020-03-11
    25
    25
    I have just released stable version 2.39.

    Changelog/download
    https://github.com/M66B/NetGuard/releases/tag/2.39

    This version will be available in the Play store after Google's approval.

    Usage data sharing has been removed from this version.

    The future of this project depends on the general support for this project. You can for example write something positive here or in the Play store, press the thanks button, donate something, purchase a pro feature or contribute translations or source code.
    17
    I have just released beta version 2.268

    Changelog/download:
    https://github.com/M66B/NetGuard/releases

    This version adds a setting for a domain name to use to validate the internet connection. The default is www.google.com. You could for example change this into www.opendns.com.
    17
    I have just released beta version 2.21.

    Changelog/download:
    https://github.com/M66B/NetGuard/releases/tag/2.21

    This version will be available as beta version in the Play store after Google's approval.