How to use Google apps with VPN on? (Android 10) - Android Q&A, Help & Troubleshooting

I am using VPN because Google apps only work via proxied connections but recently all of the Google apps stop working if I have the VPN mode on (if I switch to NAT mode they works). I think Google detects VPN and disable its apps' network requests.

Related

[Q] Way to connect to VPN, but still use regular connections for data

Is there a way that I can connect via VPN to my work's network, but only have it be used for apps that require that pipe? ie, not have all data go over the VPN.
Ex. On my Win7 machine, I can setup the VPN and uncheck the option to "use this as default network connection", so that i still keep my normal internet, but anytime I reference a network address, it properly uses the VPN.
Anything like that for Android?

[Q] How to use permanently an openVPN connection?

Hello,
I run a firewall at home with a openVPN Server. My phone runs CM11. My purpose is to use the VPN connection all the time for all internet access so I can use my firewall .
In my openVPN Client app I can chooese between two modes when phone goes to sleep:
1: pause VPN and use direct internet access
2: pause VPN and do not use direct internet access
Question: is there no chance to use permanently the VPN connection? When the phone is in standby it should also use the established VPN connection. If tunnel is paused and I use option 2 there is no internet connection while phone sleeps. So also no messages are coming in, no mails are checked and so on. But option 1 is against my purpose to use for 100% the VPN connection. Is there any solution for my purpose?
Wanna give it a new try.
This idea shouldn't be so bad as I think

Android 5.0 Lollipop - Redirect traffic of a specific app through a VPN with proxy

How can I setup the next situation in Android 5.0?
1. All network communication of app A should be made through an VPN connection with a proxy;
2. The other apps should continue to communicate directly through the wireless connection, without any proxy.
I was partly able to do this in Android 4.4 KitKat. I configured the VPN, turned it on and configured the proxy ip and port in the wireless network details. Android started to redirect the traffic of all apps through VPN and proxy.
When I do the same in Android 5.0, the result is worst! The apps simply continue to use the wireless connection directly, without any consideration of the VPN and proxy.
Thanks guys.

How to disable Android-forced VPN Split Tunneling for Sleep Mode?

Some of my Android 11 devices with Always-On VPN apps ignore VPN tunnels when in Sleep Mode, even though "Always-On" and "Block Connections Without VPN" are enabled in Android Network & Internet settings. Local DNS resolver logs show that Android Sleep Mode WiFi activity includes Android devices attempting to resolve Google domains, such as google.com, connectivitycheck.gstatic.com, and play.googleapis.com outside of VPN tunnels using WiFi-assigned DNS resolver address instead of VPN-set resolver address. The same devices do use VPN tunnels in Sleep Mode when receiving email and other internet data. That means that VPN tunnel connection persists and isn't dropped in Sleep Mode.
It is almost as if there is a forced Android-set VPN Split Tunneling that can't be configured in any VPN apps. The same behavior happens with all VPN apps and protocols, but not on all devices. Disabling or enabling Battery Optimization for VPN apps makes no difference.
Some say that Captive Portal check is the issue, but none of following ADB Shell Captive Portal commands resolve this issue for me:
settings put global captive_portal_detection_enabled 0
settings put global captive_portal_server localhost
settings put global captive_portal_mode 0
settings put global wifi_watchdog_on 0
settings put global wifi_watchdog_background_check_enabled 0
pm disable com.android.captiveportallogin
This behavior is similar to how Android devices use carrier/SIM-card WiFi calling that also bypasses installed VPN apps and exclusively uses IPSec 3GPP ePDG tunnels to make/receive calls and/or SMS/MMS. Only app-based WiFi calling (WhatsApp, Viber, Skype, Telegram, Signal, etc.) and other internet apps can use installed VPN app tunnels.
There is definitely no way to tunnel carrier/SIM-card WiFi calling through installed VPN apps, but is there a way to prevent Android devices in Sleep Mode from trying to connect to google.com, connectivitycheck.gstatic.com, and play.googleapis.com outside of VPN tunnels? Connecting to those Google domains outside of VPN defeats the point of using a VPN!

VPN connection always on not possible

I'm connecting to my home VPN via the VPN settings. But I can't have a consistently active vpn. If I check consistently active vpn checkox in the VPN settings the connect button will be grayed out (disabled). Without this checkbox activated I can connect to the VPN without issues. But if I lost the VPN connection I would go into VPN settings again an need to connect it manually again.
Why it the connect button disabled if I check the consistently active vpn checkbox?
Has nobody this problem?

Categories

Resources