I'm using the only open source firewall for Android: NetGuard and would like to use a VPN in addition. Is this possible? If so: how?

Both types of apps typically use virtual VPN tunnels. NetGuard has network settings too. Many adblockers use such as well which is why I'm only using a Firefox AddOn.

  • 1
    It appears to me that AFWall+ be open source as well. It does need root as it uses iptables instead of a VPN, though.
    – Grimoire
    Aug 30 '17 at 16:39
  • If you have a recent Samsung device feature a recent version of Knox, you can use AdHell (or similar apps) that are so-called "content blockers" which utilize Knox and still allow a VPN connection.
    – GiantTree
    Aug 30 '17 at 20:09
  • If all you need from firewall is to block internet access for selected apps, you may try this android.stackexchange.com/a/206602/32571
    – janot
    Jan 17 '19 at 23:32
  • Possible duplicate of Using both a firewall and vpn on android
    – janot
    Jan 18 '19 at 0:13

Quoting the NetGuard FAQ on that topic:

Can I use another VPN application while using NetGuard?

If the VPN application is using the VPN service, then no, because NetGuard needs to use this service. Android allows only one application at a time to use this service.

NetGuard is a firewall application, so there is no intention to add VPN support. However, NetGuard supports a SOCKS5 proxy to chain VPN applications.

So the answer is: it depends.


If you have no-root like me, the only way to tunnel traffic with NetGuard for me was using it with Orbot. You can also route your DNS traffic through the Tor network. I also would be interested to know other ways to get NetGuard to work with VPN-alike applications.


One way might be to use two devices, your main device running the firewall (eg.NetGuard) & tethered to another Android device acting as a router which is running the VPN.

One downside is many Android devices won't let another device tether to use their WiFi Internet connection, but only allow tethering to access a Mobile Data connection.

I don't know if the tethered traffic would get routed via the VPN running on the routing device ? Will need to try it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.