Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

手机和电脑在同一个局域网下连接 VPN 后,先连接的无法使用网络 #54

Closed
zzmmzz777 opened this issue Feb 16, 2018 · 1 comment

Comments

@zzmmzz777
Copy link

  • 手机系统:iOS
  • 电脑系统:MacOS

分别使用不同的 vpn 账号,使用cisco ipsec模式。

问题:两个设备同时连接 VPN 后,第一个连接的设备无法访问网络。

查看 ipsec 连接信息如下:

006 #23: "xauth-psk"[7] 223.89.65.191, username=user2, type=ESP, add_time=0, inBytes=124148, outBytes=212711, lease=192.168.43.10/32
006 #25: "xauth-psk"[7] 223.89.65.191, username=user, type=ESP, add_time=0, inBytes=664727, outBytes=1446150, lease=192.168.43.10/32

是不是由于分配了重复的 IP 地址导致的?应该如何解决?

谢谢!

@hwdsl2
Copy link
Owner

hwdsl2 commented Feb 17, 2018

@ekousp 你好!你的推测是正确的,目前因为一个在 Libreswan 中的问题,现在还不支持同时连接在同一个 NAT(比如家用路由器)后面的多个设备。参见 [1]。

[1] libreswan/libreswan#166

@hwdsl2 hwdsl2 closed this as completed Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants