microsoft / WSA

Developer-related issues and feature requests for Windows Subsystem for Android
MIT License
1.58k stars 840 forks source link

Unable to use the vpn software of Android. #495

Open undefined303 opened 11 months ago

undefined303 commented 11 months ago

Steps to reproduce

Punch vpn software, direct display can not be started.

✔️ Expected Behavior

You can use Android on Windows.

❌ Actual Behavior

Unable to use the vpn software of Android.

Other Software

No response

Please specify the version of Windows Subsystem for Android

2310.40000.2.0

s1204IT commented 7 months ago

This is because WSA's current specifications place restrictions on the use of VPNs.
To solve this you need to use something like MagiskOnWSALocal.

https://github.com/s1204IT/VpnDialogs/blob/master/app/src/main/java/com/android/vpndialogs/ConfirmDialog.java#L55-L60