Live data from Hacker News

NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

netguard.me

21–30 of 142 posts

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#21

Afaik, this requires an active VPN connection. With GrapheneOS, there is a network toggle which disables the INTERNET access to any individual app so it doesn't make sense to use NetGuard

It can do other things. It can monitor network traffic and block ads within apps through multiple host files . Also having a single app to toggle is more UX friendly than toggling multiple apps network access.

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#24

From the developer of FairEmail. Every once in a while I consider making the switch to KeePassXC. I trust KeePassXC but I don't really trust the mobile apps so last time around I looked into NetGuard. It's really nice but it wasn't a good fit for my use case: > NetGuard will do its best, but it is limited by the fact it must use the Android VPN service. This is the trade-off required to make a firewall which does not…

> better than nothing Is "nothing" the only Android per-app outbound firewall alternative to NetGuard?

I've been using Blockada for many years but that's a firewall against ads and trackers. No ads inside apps.

Ideally I would use NetGuard to block the apps and Blockada to block ads and trackers for the apps that I allowed to perform network traffic in NetGuard. But Android allows only one active VPN and they can't be chained, so it's a hard choice. Actually it's not so hard: I keep blocking ads and trackers.

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#25
Installing NetGuard was revelation regarding the amount of tracking in most Android apps.

You can configure it to block access by default and notify you every time an app attempts a new connection. And it rings all the time.

Some software call home at 4am every day, other every hour, some send data to a dozen "analytics" services - services that I never opted-in for, which shows how few apps respect the RGPD.

At least most apps still work when those are blocked, and NetGuard allows you to block connections to Google servers except for Google Apps, which network firewalls and DNS solutions can't.

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#26
post #23

I'm using netguard. It's really good, but conflicts with wireguard (another VPN I am using). It's because the firewall is realised using VPN API, when running netguard it uses VPN API to control the traffic

I am dreaming of an open-source app that adds Wireguard capabilities to NetGuard or vice-versa.

Having to switch from one to the other is very annoying.

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#27

From the developer of FairEmail. Every once in a while I consider making the switch to KeePassXC. I trust KeePassXC but I don't really trust the mobile apps so last time around I looked into NetGuard. It's really nice but it wasn't a good fit for my use case: > NetGuard will do its best, but it is limited by the fact it must use the Android VPN service. This is the trade-off required to make a firewall which does not…

> better than nothing Is "nothing" the only Android per-app outbound firewall alternative to NetGuard?

At the OS level LineageOS offers per-app network permissions, which I've used and functions as expected.

One quirk from what I understand of this ticket[1] is if there's a proxy set up via a separate internet allowed app it can bypass the restriction via that app. GrapheneOS' implementation is said to prevent this.

[1] https://gitlab.com/LineageOS/issues/android/-/issues/3228

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#28

Is there something like this for iOS? I know Adguard but it is not open source.

Isn’t AdGuard just dns protection (and Safari extension). Afaik something like this isn’t easily doable in iOS. Some options are:

* Shadowrocket - you can set complex rules on what hosts/connections should be routed by what, but afaik you are not able to isolate traffic on a per-app basis.

* I think you can set up per-app VPN on iOS, but you must use MDM, can’t do it on an unmanaged profile. Link: https://support.apple.com/guide/deployment/vpn-overview-depa...

Re: NetGuard – rootless Android outbound per-app OSS firewall, like LittleSnitch

#30

Is there something like this for iOS? I know Adguard but it is not open source.

https://github.com/AdguardTeam/AdguardForiOS

I am pretty sure it is open source. I’ve been using it for years both for upstream DNS and blocklist filtering.

Post reply on HN