X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件
GNU Lesser General Public License v3.0
345 stars 125 forks source link

开启VPN后,手机内其他APP都走 VPN,但是软件本身走的手机原始网络,这是什么原因?如何解决 #121

Open junyongNie opened 1 year ago

junyongNie commented 1 year ago

开启VPN后,手机内其他APP都走 VPN,但是软件本身走的手机原始网络,这是什么原因?如何解决

junyongNie commented 1 year ago

情况是这样的,我用webview_flutter开发一个浏览器,然后集成了 flutter_vpn.

开启 flutter_vpn connectIkev2EAP连接成功后,手机里面其他软件都走的vpn,可以访问goole。

但是 自己开发的APP,走的还是手机原来的网络, 不能访问 google,怎么让自己开发的软件也可以走vpn,访问google

minh-dai commented 1 year ago

+1

scuti-haidv commented 1 year ago

I have the same problem as you.

scuti-dai commented 10 months ago

@junyongNie this library use strongswan for connect VPN in android, please comment some code in strongswan, it will working Link: https://github.com/strongswan/strongswan/discussions/1905