• 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: 438 30.5%
  • Saving battery

    Votes: 306 21.3%
  • Increasing privacy

    Votes: 783 54.6%
  • Blocking ads

    Votes: 926 64.6%

  • Total voters
    1,434
Search This thread

monkeybuttons

Senior Member
Feb 13, 2011
351
152
Utah
Really like the idea. Recently started using an app that lets me remote into my work but doesn't allow rooted devices.

I'm on a stock, unmodified 6.0 Nexus 5.

Just a couple of suggestions. The spot to tap to open the checkbox "allow when device in use" is difficult to find. I almost have to tap between the entries to make it show. Not sure if this is a bug or feature. Also, the ability to filter by user or system app and bulk enable or disable for wifi or mobile would be fantastic, maybe a paid upgrade feature?

Overall I love the app. Thanks for thinking of the non-root community!
 

abo hani

Senior Member
Jan 30, 2013
2,121
4,580
St. Wendel
syriantc.com
NetGuard is currently in alpha testing phase.
Please report any problems you encounter.

It would be nice if someone could design an appropriate icon.

So, I've designed 3 icons for your app, how can i send them to you if you disabled the messaging ?

P.S : I've translated your app to Arabic, but i'm newbie to GitHub, So here's the values-ar :

+<resources>
+ <string name="app_name" translatable="false">NetGuard</string>
+ <string name="app_copyright">الحقوق /u00A9 2015 بواسطة M. Bokhorst (M66B)</string>
+
+ <string name="menu_search">البحث عن تطبيقات</string>
+ <string name="menu_network">فتح إعدادات الشبكة</string>
+ <string name="menu_refresh">تحديث التطبيقات</string>
+ <string name="menu_whitelist_wifi">حظر الواي فاي بشكل افتراضي</string>
+ <string name="menu_whitelist_other">حظر الشبكة بشكل افتراضي</string>
+ <string name="menu_reset_wifi">إعادة تعييت قوانين الواي فاي</string>
+ <string name="menu_reset_other">إعادة تعيين قوانين الجهاز</string>
+ <string name="menu_dark">استخدام الثيم الداكن</string>
+ <string name="menu_vpn_settings">فتح إعدادات الـVPN</string>
+ <string name="menu_support">الدعم</string>
+ <string name="menu_forum">اذهب إلى المنتدى</string>
+ <string name="menu_logcat">إرسال logcat</string>
+ <string name="menu_about">حول</string>
+
+ <string name="msg_sure">هل أنت متأكد؟</string>
+ <string name="msg_disabled">التطبيق غير مُفعّل, قم بتفعيل التطبيق من الخيار أعلاه.</string>
+
+ <string name="title_using">السماح عند استخدام الجهاز</string>
+</resources>
 
Last edited:
  • Like
Reactions: M66B

Weetbix

Senior Member
Feb 1, 2010
606
290
Kariong
I've just installed v0.7 on my rooted LG G4 (H815) running android 5.1.

No issues installing NetGuard, and none with the very brief test I've done with a user app and WiFi. When I get a chance I'll give it a more thorough workout.
 
  • Like
Reactions: M66B

M66B

Recognized Developer
Aug 1, 2010
24,858
51,664
Really like the idea. Recently started using an app that lets me remote into my work but doesn't allow rooted devices.

I'm on a stock, unmodified 6.0 Nexus 5.

Just a couple of suggestions. The spot to tap to open the checkbox "allow when device in use" is difficult to find. I almost have to tap between the entries to make it show. Not sure if this is a bug or feature

I guess you are trying to tap the small person icon. Tapping the application icon or name will also expand the attributes (one for now). I will add a visual indications to make this option more clear.

Also, the ability to filter by user or system app and bulk enable or disable for wifi or mobile would be fantastic, maybe a paid upgrade feature?

Overall I love the app. Thanks for thinking of the non-root community!
I like to keep the app as simple as possible and filtering on system and user apps seems not really necessary to me. There is already a search function to quickly find an application. Why do you need a bulk enable/disable? You can already enable/disable the firewall using the switch in the action bar.
 

M66B

Recognized Developer
Aug 1, 2010
24,858
51,664
So, I've designed 3 icons for your app, how can i send them to you if you disabled the messaging ?

P.S : I've translated your app to Arabic, but i'm newbie to GitHub, So here's the values-ar :

+<resources>
+ <string name="app_name" translatable="false">NetGuard</string>
+ <string name="app_copyright">الحقوق /u00A9 2015 بواسطة M. Bokhorst (M66B)</string>
+
+ <string name="menu_search">البحث عن تطبيقات</string>
+ <string name="menu_network">فتح إعدادات الشبكة</string>
+ <string name="menu_refresh">تحديث التطبيقات</string>
+ <string name="menu_whitelist_wifi">حظر الواي فاي بشكل افتراضي</string>
+ <string name="menu_whitelist_other">حظر الشبكة بشكل افتراضي</string>
+ <string name="menu_reset_wifi">إعادة تعييت قوانين الواي فاي</string>
+ <string name="menu_reset_other">إعادة تعيين قوانين الجهاز</string>
+ <string name="menu_dark">استخدام الثيم الداكن</string>
+ <string name="menu_vpn_settings">فتح إعدادات الـVPN</string>
+ <string name="menu_support">الدعم</string>
+ <string name="menu_forum">اذهب إلى المنتدى</string>
+ <string name="menu_logcat">إرسال logcat</string>
+ <string name="menu_about">حول</string>
+
+ <string name="msg_sure">هل أنت متأكد؟</string>
+ <string name="msg_disabled">التطبيق غير مُفعّل, قم بتفعيل التطبيق من الخيار أعلاه.</string>
+
+ <string name="title_using">السماح عند استخدام الجهاز</string>
+</resources>
First of all thanks for contributing to the project!
Please publish the icons here, so others can give their opinion on them as well.
The Arabic translation will be part of the next release.
 
  • Like
Reactions: datdirtyscrew

abo hani

Senior Member
Jan 30, 2013
2,121
4,580
St. Wendel
syriantc.com
  • Like
Reactions: M66B

M66B

Recognized Developer
Aug 1, 2010
24,858
51,664
1: http://i.imgur.com/nRhw4b5.png
2: http://i.imgur.com/H8L1f8v.png
3: http://i.imgur.com/jQQmZVD.png

For the third icon, i prefer to delete the " world wide web ", I've got the PSDs if you want to modify any of them.
I quite like the third one, including the www.
Could you please create a variant with the colors swapped?
The correct colors are colorPrimary (green/teal) and colorAccent (orange) from here:
https://github.com/M66B/NetGuard/blob/master/app/src/main/res/values/colors.xml
 

soulxsmart

New member
Nov 1, 2010
2
1
Very nice app. Works fine on Marshmallow.
A handy feature would be support for import/export. Or maybe better: modes so i can create multiple lists of apps that I allow/block. Eg Abroad, national, limited data, etc.
 
  • Like
Reactions: M66B

DrummerMuppet

Senior Member
Jan 3, 2012
652
534
Caracas
Google Pixel 2

Overall, I like it.

I do have some suggestions / observations:

  • The "www" text is barely legible in the 48x48 version.
  • Taking in consideration the observation from above, how about replacing the "www" text with a "network" icon? Something like this or this or this (do not use the actual images, I shared them just as examples and they might be licensed).
  • The shield shape doesn't seem to be even. I haven't checked but it seems to me that the top right corner of the shield is slightly higher than the left one.

Hope that helps :)
 
  • Like
Reactions: M66B

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Version 2.299 beta is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/NetGuard/releases
    2
    App rule :
    Blocking or allowing an app.
    Made by blocking or allowing Wi-Fi or Mobile data for an app ?

    Connection rule :
    Blocking or allowing a connection of an app.
    a) Made by blocking or allowing an IP address for an app ?
    or
    b) Made by blocking or allowing a domain name with the hosts file for an app ?
    If yes, is there a precedence between a and b ?

    Am I right ?
    I hope having understood your reply. Sorry in advance if I try to clarify my understanding but I thing that it can help other people.
    Yes and yes. Ad blocking is system wide and therefore takes precedence over everything else.
    2
    My motivation to work on this project has decreased to almost zero after a recent wave of 1 star Play store reviews. Mostly stupid reviews, like why does this app need internet?

    Literally millions of people use NetGuard but people seem only to review to complain about something, which is pretty tiresome. The project is not there to earn money, so what's left?
    Marcel, you are The Great Developer so you don't need to read these stupid 1 star ratings. Stay cool ;-) Kind regards, Lukas
    2
    @pardub Imagine that lots of people say everyday to you that your work is bad and almost nobody says it is good. How would you react?
    Who cares what these people say! They wouldn't know where to start and are either stupid or intentionally malignant.

    Besides, I think your app protects the privacy of those who use it. That is its beneficial effect on those who use it. What idiots write about it may be hurtful but it is not what's important. I'm sure you developed this superb app because it protects privacy not because you wanted to gather compliments. So what idiots write about it is really secondary.

    Your app is much needed and does its job very well. You know that. Its users know that. That some idiots (and they are idiots or malicious) try to bring it down is in the end just background noise.

    Thank you for all your efforts.
    2
    To be honest,I wouldn’t really take in consideration what people think about me if I was developing an app.

    In the same time, I would always take in consideration the constructive criticisms as they would help me to develop a better app .

    For those who couldn’t appreciate the real value of my work and have no clue about the time and dedication provided to build this app, well though….

    I have to acknowledge I cannot make everyone happy and getting totally unjustified bad reviews by some people is the unavoidable downside when you published something online.

    A developer can provide guidance about how to use his app but he cannot educate people.

    But I totally agree unjustified criticisms are not a pleasant thing and it doesn’t show any consideration for the work provided but we cannot control what people said.

    Time and efforts should only be dedicated to people who appreciate my work, not the others.
    Which could also mean that time is better spent on other things.

    For now I will keep maintaining and supporting the app, which means that bugs will be fixed and that the app will be adapted for new Android versions. There won't be new features anymore though.
  • 346
    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.