【发布时间】:2012-11-22 04:10:55
【问题描述】:
我已经阅读了有关VpnService 和VpnService.Builder 的信息,但无法获得将 vpn 类型设置为 PPTP 或 L2TP 的任何方法,即使我没有获得任何可以设置用户/密码的方法。 em>
注意:There are many questions in SO I read them but didn't find solution. I looked into ToyVpn application but this there are only 3 parameters we set in this application.
请帮忙。如果有3party API,请提供参考。
【问题讨论】:
-
需要自己实现PPTP协议。我本人目前正在研究这个问题,因为我有一个适用于 2.x 的有效 VPN/PPTP 连接,并且希望它也适用于 4.x。尝试查看 Hideman 的源代码 - 他们正在这样做:)