【发布时间】:2019-07-31 06:19:44
【问题描述】:
我尝试使用此包制作 VPN 连接应用程序,但它不支持(L2TP 或 PPTP)等连接类型
【问题讨论】:
标签: android ios flutter dart vpn
我尝试使用此包制作 VPN 连接应用程序,但它不支持(L2TP 或 PPTP)等连接类型
【问题讨论】:
标签: android ios flutter dart vpn
我在源码上找到了那个代码,好像是pptp连接
/// Use given credentials to connect VPN (ikev2-eap).
/// This will create a background VPN service.
static Future<Null> simpleConnect(
String address, String username, String password) async {
await _channel.invokeMethod('connect',
{'address': address, 'username': username, 'password': password});
}
【讨论】:
是的,有可能我在 GitHub 上找到了这个库,你应该试试,https://github.com/X-dea/flutter_vpn
【讨论】: