I know this is a bit more tech-support oriented, but I was hoping someone might have first or second hand experience fixing this, given what a nightmare it is to research and test.
I’m using a semi-recent Samsung phone, running their skin of Android 14. Currently, I’m using PIA as my vpn (yes, I know I should switch) through the OpenVPN app. I also experience this issue through PIA’s app leading me to think its an Android issue. I also leave both the “Always-on VPN” and “Block Connections without a VPN” enabled.
I’ve tried to do some research, but everything that I find is search engines directing to basic stuff like how to connect to wifi
Edit: I’m currently testing the memory management tweak, and Ill probably try wireguard next.
Edit 2: In case anyone ends up here from Google, I’ve swapped VPNand tried removing all restrictions on memory and battery usage with no luck. I have also found a bunch of people complaining about similar issues with other Samsung devices, so it may be related. For example, this threat from Reddit, with all the responses removed: https://old.reddit.com/r/nordvpn/comments/t8t1hf/connectivity_issues_with_new_phone_android/
Perhaps the official app has issues.
Some VPN providers have wireguard protocol. (I think nordvpn does)
Search “[VPN Provider] Wireguard” for info.
Usually you log in to the account on the website, you choose some servers then create a configuration file.
Then you find any app that can create a Wireguard tunnel. There are many open source ones on F-Droid. Import the configuration file in the app and you have a VPN. I use “Rethink DNS” which has both a Firewall and VPN via Wireguard (and various other features). If one doesn’t work, just try another, there like 3 different wireguard apps at least.