So, I've been using AG for the past few months and after unrooting my OP6 I had a tough time blocking AD's and keeping my VPN connection at the same time.
I tried looking for a new VPN provider with an app that has a proxy option so it would go through AG for connection but had no luck finding one.
Manually setting WiFi's proxy works fine until VPN connects and then it would simply bypass the proxy settings (and YES, I tried disabling protection for my VPN app within AG settings)
So I started using OpenVPN config files from my VPN and setting proxies within the config files to route the packets through AG before heading to the Internet but the OpenVPN app's performance and constant disconnection were a disappointment.
Today, something came to my mind and I started messing with the settings of both my VPN app's and AG and managed to get it working which I'm going to explain below
I tried looking for a new VPN provider with an app that has a proxy option so it would go through AG for connection but had no luck finding one.
Manually setting WiFi's proxy works fine until VPN connects and then it would simply bypass the proxy settings (and YES, I tried disabling protection for my VPN app within AG settings)
So I started using OpenVPN config files from my VPN and setting proxies within the config files to route the packets through AG before heading to the Internet but the OpenVPN app's performance and constant disconnection were a disappointment.
Today, something came to my mind and I started messing with the settings of both my VPN app's and AG and managed to get it working which I'm going to explain below
There are 2 method's that I have found and been using,
Method 1:
-using OpenVPN config files to add in the proxy and then importing it into the OpenVPN app of your choice. How-To
Method 2:
Note: This method requires your VPN app to support app exception/split tunneling!
-Set AG's Filtering method to "Local HTTP Proxy"
-Set your Wifi/Data 's proxy to IP:127.0.0.1 Port:8080
-AG > App Management > (VPN app) > Disable "AdGuard Protection"
-Go to your VPN app's settings and disable VPN for your selected app i.e "Chrome" (the app that requires AD blocking)
-Now connect to your VPN and Voilà!
If you are thinking that chrome simply bypasses VPN and goes through AG directly connecting to the internet, You are mistaken. I live in a country that practices Internet Censorship so it's easy for me to test this out. The app DOES go through VPN and AG both!
It is also worth mentioning that this could simply not work for everyone depending on your ROM/VPN.
I'm on OnePlus 6 (no-root) running Android 10 and tested this with both Windscribe and VPNUnlimited from KeepSolid with SUCCESS.