schwabe / ics-openvpn

OpenVPN for Android
3.25k stars 1.18k forks source link

Apps may bypass VPN not works #1706

Closed scruel closed 3 months ago

scruel commented 3 months ago

On Allow app page:

Vesion 0.7.51 Android 13

schwabe commented 3 months ago

I am not sure what you expect. This only controls if apps can you use the VPN or use normal Internet connection. Of course it can sstill use Internet if you have connectivity.

scruel commented 3 months ago

Shouldn't "Apps may bypass VPN option" will prevent apps bypass the VPN? And since I disallowed apps to go through VPN, why they still can use normal connection? App -x> VPN (disallowed) App -?> Internet (can't by pass) I don't think I understand the meaning of this option, "can't bypass" means have to go though VPN?

schwabe commented 3 months ago

That option only allows an App that is routed over the VPN to not use the VPN. See also https://developer.android.com/reference/android/net/VpnService.Builder#allowBypass() and issue #1702