安卓无法使用l2tp/ipsec vpn

vpn配置好之后,安卓手机无法使用该vpn(ios可以正常使用),根据观察到的日志来看与ios使用的加密方法是不一样的。

  • 安卓:AES_256-HMAC_SHA2_256
  • ios:AES_256-HMAC_SHA1
  • 不过感觉这个加密方法可能是自动检测匹配的?说不清楚后面需要配置一下ipsec的加密方法来重新测试一样,同时啊表示应该同时配置一下ipsec vpn
  • 还有一个可能是安卓没有采用标准的认证方式链接 ↓
  • Comment 203 from strawman is particularly interesting as the person identified the bug and provides a fix. Basically, Google is not following the RFC by the book and OpenSwan doesn’t tolerate this error. The user fixed the building of the ISAKMP NAT-OA packet (byte 7) in /system/bin/racoon and uploaded his patch.

转载请注明来源链接 http://just4fun.im/2017/01/18/e5-ae-89-e5-8d-93-e6-97-a0-e6-b3-95-e4-bd-bf-e7-94-a8l2tpipsec-vpn/ 尊重知识,谢谢:)