Always on VPN / Block connections without VPN blocks all internet after reboot on recent builds
Hi, I'm having a problem with Always On VPN / Block connections without VPN where I don't have internet access after reboot.
I've tried this on Apollon.
Problem doesn't exist on: lineage-19.1-20220915-microG-apollon.zip
I know that's not a supported build, but it's the oldest build I could find, and all the official builds on the download server are broken.
Problem does exist on: lineage-19.1-20221001-nightly-apollon-signed.zip lineage-19.1-20221022-nightly-apollon-signed.zip
Expected Behavior
Install OpenVPN, Enable VPN, Enable Always on VPN and Block Connections without VPN access, Reboot. OpenVPN recognizes internet connection, connects, and internet works.
Current Behavior
After enabling Always On/Block connections and rebooting, OpenVPN says "Waiting for usable network"
Turning off Always on VPN/Block doesn't restore internet access until after rebooting.
Possible Solution
Possibly could be something to do with these changes. I don't have any evidence, but it fits the timeline. https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/323146/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/338197/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/328270/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/338196/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/338195/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/338194/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/328271/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/338193/ https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/323146/
Steps to Reproduce
- Clean flash an October build (such as lineage-19.1-20221022-nightly-apollon-signed.zip)
- adb install openvpn from https://f-droid.org/packages/de.blinkt.openvpn/
- adb push openvpnconfigs /sdcard/Download
- Open OpenVPN and configure VPN. Test it is working. Test internet
- Enable Always on VPN/Block Connections without VPN.
- Verify internet still works. (it does)
- Reboot
- Internet isn't working anymore. OpenVPN can't connect with "Waiting for usable network" and if VPN is stopped, apps can't connect to anything either (failed DNS resolution in browser)
- Turn off Always On / Block connections
- Reboot
- Internet is working again.
/device apollon /version lineage-19.1 /date 2022-10-22 /kernel Stock /baseband V13.0.6.0.SJDMIXM_20220822.0000.00_12.0_global /mods F-Droid
I have read the directions