【问题标题】:Is it possible to make Vpn app using flutter and dart是否可以使用颤振和飞镖制作 Vpn 应用程序
【发布时间】:2019-07-31 06:19:44
【问题描述】:

我尝试使用此包制作 VPN 连接应用程序,但它不支持(L2TP 或 PPTP)等连接类型

https://pub.dev/packages/flutter_vpn

【问题讨论】:

    标签: android ios flutter dart vpn


    【解决方案1】:

    我在源码上找到了那个代码,好像是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});
      }
    

    【讨论】:

    • 连接类型好像是ikev2-eap ??如何更改类型连接类型??
    【解决方案2】:

    是的,有可能我在 GitHub 上找到了这个库,你应该试试,https://github.com/X-dea/flutter_vpn

    【讨论】:

      猜你喜欢
      • 2019-11-21
      • 1970-01-01
      • 2022-06-20
      • 2022-09-24
      • 2019-02-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-26
      相关资源
      最近更新 更多