openswan l2tp 服务器到 Android 客户端

发布于 2025-01-08 16:39:43 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

带刺的爱情 2025-01-15 16:39:43

本指南对我有用。

要查看手机上发生的情况,我总是使用 adb logcat。 (可能有一个应用程序可以查看此日志,但我只是使用 中的 adb 工具Android SDK。)

但请注意,如果您使用证书,则不会使用预共享密钥。当您在 Android 设备上创建 VPN 连接时,您需要选择 L2TP/IPsec CRT VPN 而不是 L2TP/IPsec PSK VPN

如果您使用“纯”IPsec VPN,则不一定需要“用户名”。在这种情况下,“用户名/密码”方面是由 VPN 的 L2TP 组件添加的。 (除了 PSK 或证书之外,还有其他类型的 IPsec VPN 使用用户名/密码身份验证;这种类型的身份验证通常称为“XAUTH”。)

This guide worked for me.

To see what's happening on the phone, I always use adb logcat. (There may be an app to view this log, but I just use the adb tool in the Android SDK.)

Note however that if you are using certificates, you won't use a pre-shared key. When you go to create the VPN connection on your Android device, you'll need to select L2TP/IPsec CRT VPN instead of L2TP/IPsec PSK VPN.

If you were using a "pure" IPsec VPN, you would not necessarily need a "username". The "username/password" aspect, in this case, is added by the L2TP component of the VPN. (there are other types of IPsec VPNs which use username/password authentication in addition to a PSK or certificate; this type of authentication is usually called "XAUTH".)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文