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

What are you mainly using NetGuard for?

  • Reducing data usage

    Votes: 420 30.8%
  • Saving battery

    Votes: 293 21.5%
  • Increasing privacy

    Votes: 731 53.6%
  • Blocking ads

    Votes: 884 64.8%

  • Total voters
    1,364
Search This thread

fogame

Senior Member
May 3, 2011
1,091
309
Boise, ID
OnePlus 8T
Configuring specific apps? Not quite sure how to do it. I've looked through the settings and not sure. Some specific apps aren't loading. Facebook, chrome, imgur, zedge....just to name a few. With it enabled it doesn't work. I have to have them set to allow when screen is on, which I would rather not if possible.

Any thoughts?
 

M66B

Recognized Developer
Aug 1, 2010
23,754
48,651
Configuring specific apps? Not quite sure how to do it. I've looked through the settings and not sure. Some specific apps aren't loading. Facebook, chrome, imgur, zedge....just to name a few. With it enabled it doesn't work. I have to have them set to allow when screen is on, which I would rather not if possible.

Any thoughts?
I guess you want to enable managing system applications in the NetGuard settings.
 

fogame

Senior Member
May 3, 2011
1,091
309
Boise, ID
OnePlus 8T
Please describe your problem in more detail.
What is "not loading" and "in use" ?

No worries.

Example, When I open imgur it doesn't load. When I check to allow when mobile is on...or whatever the name is...it works but ads come through. Same with Zedge. Nothing loads. I get no content loaded.

With facebook it loads a little bit of the feed but then it times out when trying to load the rest.

Chrome won't even load websites unless I disable it.

Anything else that is needed? More then happy to provide what is needed.
 

M66B

Recognized Developer
Aug 1, 2010
23,754
48,651
No worries.

Example, When I open imgur it doesn't load. When I check to allow when mobile is on...or whatever the name is...it works but ads come through. Same with Zedge. Nothing loads. I get no content loaded.

With facebook it loads a little bit of the feed but then it times out when trying to load the rest.

Chrome won't even load websites unless I disable it.

Anything else that is needed? More then happy to provide what is needed.
Try disabling/enabling filtering mode.

For ad blocking, please check the ad blocking instructions on GitHub.

Which device/Android version are you using?
 

fogame

Senior Member
May 3, 2011
1,091
309
Boise, ID
OnePlus 8T
Try disabling/enabling filtering mode.

For ad blocking, please check the ad blocking instructions on GitHub.

Which device/Android version are you using?

Note 7 sprint

Checked ad blocking as well. I'll re-read it

let me test disabling/enabling filtering mode

Edit: I'm assuming this is filter traffic right?

---------- Post added at 02:50 PM ---------- Previous post was at 02:02 PM ----------

@M66B okay fixed what was wrong. I downloaded the host file and loaded it into netguard. When it comes to adblocking your test page on github works.

Still can't access the apps without creating a profile exception for them.
 

jony127

Member
Mar 9, 2016
7
0
Hi.

When I turn on the phone with the data off and wait for NetGuard start, then active data and some app that only have wifi access receive data. It seems as if for a moment a data escape is produced, why not protect this NetGuard?

Thank you.
 

M66B

Recognized Developer
Aug 1, 2010
23,754
48,651

pulser_g2

Admin Emeritus / Senior Recognized Developer
Nov 27, 2009
19,537
11,592
Allow when mobile on is what I cheek.

This sounds like expected behaviour.

You need to grant the app permission to use the internet - NetGuard has several purposes. It works as a firewall to keep certain apps offline. It also works as a way to save and control data use. Finally it works as a filter for certain hosts.

You have enabled filtering, but you still need to ensure the app is allowed to reach the internet via NetGuard. That's why you would turn the mobile icon blue for that app.
 
  • Like
Reactions: fogame

fogame

Senior Member
May 3, 2011
1,091
309
Boise, ID
OnePlus 8T
This sounds like expected behaviour.

You need to grant the app permission to use the internet - NetGuard has several purposes. It works as a firewall to keep certain apps offline. It also works as a way to save and control data use. Finally it works as a filter for certain hosts.

You have enabled filtering, but you still need to ensure the app is allowed to reach the internet via NetGuard. That's why you would turn the mobile icon blue for that app.

Ah okay...I see what you mean. So the apps work after I allowed them access and the ads are gone. I understand what it does exactly. If I want to log what is happening I can also do that.

I guess I had a brain wipe on how firewalls work. My bad lol

Shout out to @M66B as well for helping me and dealing with my lame questions.

Awesome app.
 

ImpNow

New member
Aug 24, 2016
1
0
Log bug

Firewall works fine but log with a small bug.
After blocking an app, no data are transferred anymore. However, the following log entries are still shown as unblocked (access attempt is not shown as blocked in the 'Show log' screen. The log in the main screen is correct) .
Device: Samsung Tab S2 8.0, Android 6.0.1
 

M66B

Recognized Developer
Aug 1, 2010
23,754
48,651
Firewall works fine but log with a small bug.
After blocking an app, no data are transferred anymore. However, the following log entries are still shown as unblocked (access attempt is not shown as blocked in the 'Show log' screen. The log in the main screen is correct) .
Device: Samsung Tab S2 8.0, Android 6.0.1
I guess something is missing ...
 

nsmart

Senior Member
Sep 3, 2011
487
220
I use netguard (latest version) for ad blocking and since 2 weeks I repeatedly get "ERR_NETWORK_CHANGED" notifications in google chrome for a few seconds. The web pages then load without further errors. If I disable netguard, these notifications disappear. Anyone else getting this?
 

M66B

Recognized Developer
Aug 1, 2010
23,754
48,651
I use netguard (latest version) for ad blocking and since 2 weeks I repeatedly get "ERR_NETWORK_CHANGED" notifications in google chrome for a few seconds. The web pages then load without further errors. If I disable netguard, these notifications disappear. Anyone else getting this?
I guess this is caused by NetGuard restarting the VPN to apply a new rule set, for example after turning on the screen.
See also this FAQ:
https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ9
 
  • Like
Reactions: nsmart

voroxda

Senior Member
Jun 17, 2014
201
99
Xiaomi Mi 11
This sounds like expected behaviour.

You need to grant the app permission to use the internet - NetGuard has several purposes. It works as a firewall to keep certain apps offline. It also works as a way to save and control data use. Finally it works as a filter for certain hosts.

You have enabled filtering, but you still need to ensure the app is allowed to reach the internet via NetGuard. That's why you would turn the mobile icon blue for that app.

deleted
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I don't see that setting in Network Settings, unless the Lockdown Wi-Fi setting actually allows LAN access over the WiFi?
    You must first enable Subnet routing to be able to enable LAN access. Both settings are in the Network settings.
    1
    Sorry if it has been asked before.
    I have a question regarding the append host file. Is this host file, the appended one, removed when I update or use download host file option ?
    Yes
    1
    I don't know if it has been asked, but I don't know how to search precisely either.

    Is there the possibility to allow some apps to connect to local network devices creating their own Wifi?

    i.e.
    Panasonic Image App
    Sony Imaging Edge Mobile
    Insta360

    all the applications above, connects to their cameras through a wifi that is generated by the camera itself.
    The "physical" connection to the wireless network goes well, of course, but with netguard on, the connection of the application to the device does not work, somehow it is filtered at the application level.

    Is there a way to make it work without disabling netguard completelyl?

    Thank you.
    In the advanced settings enable filtering and for the apps disable 'Apply rules and conditions' and it will probably work.
    1
    Hi Marcel,

    I've a problem with the import of a hosts file.
    The app seems to not accept rows with more than one alias inside.

    If there is only one site per line, it works fine.
    Es:
    0.0.0.0 n2019cov.000webhostapp.com

    This is an example of not working rows:
    0.0.0.0 n2019cov.000webhostapp.com webmail-who-int.000webhostapp.com 010sec.com 01mspmd5yalky8.com 0byv9mgbn0.com ns6.0pendns.org dns.0pengl.com ios.0pengl.com 0x4fc271.tk
    0.0.0.0 login.yahoo.com.0x4fc271.tk 0xf4a5.tk user-id.0xf4a5.tk change-password.yahoo.user-id.0xf4a5.tk login.yahoo.user-id.0xf4a5.tk 0xf4a54cf56.tk login.yahoo.user-id.0xf4a54cf56.tk 12724.xyz 15438.xyz

    It would be nice if it could accept multi-aliased lines as well.

    Thanks very much!
    Kira

    I will put this on my to do list, but it will be low priority.
    1
    First of all thanks Marcel for your continued support of this great app!

    Quick question from my side to the community whether the app on my phone is working as intended:

    I am using the paid version of Netguard and downloaded the hostfile to block ads etc.

    In my log, I can see that those unwanted connections are blocked (see screenshot below)

    View attachment 5277363

    However, even though the domain appears to be blocked in the Netguard log, my Pi-hole tells me that a query was still made and that it was blocked by Pi-hole instead (see screenshot below)


    View attachment 5277365


    Is this behavior as expected?
    Yes, please see this FAQ:

    https://github.com/M66B/NetGuard/blob/master/FAQ.md#user-content-faq63
  • 339
    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.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone