简体   繁体   English

是否可以使用 flutter 和 dart 制作 Vpn 应用程序

[英]Is it possible to make Vpn app using flutter and dart

I tried using this package to make VPN connection app but it dose not support the connection type like (L2TP or PPTP)我尝试使用这个包来制作 VPN 连接应用程序,但它不支持像(L2TP 或 PPTP)这样的连接类型

https://pub.dev/packages/flutter_vpn https://pub.dev/packages/flutter_vpn

i found that code on source, seems like pptp connection我在源代码上找到了该代码,看起来像 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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM