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

Multiple clients not works #323

Closed
LevelOne2k opened this issue Feb 20, 2018 · 2 comments
Closed

Multiple clients not works #323

LevelOne2k opened this issue Feb 20, 2018 · 2 comments

Comments

@LevelOne2k
Copy link

Hello, I have successfully installed IPsec VPN Server Auto Setup Script. I've created 2 additional users for IPsec, it works the connection works. Invalid passwords and usernames.

Both clients get the same IP address: 192.168.43.10

A client can then no longer connect to the Internet. Does not connect multiple clients at the same time?

@hwdsl2
Copy link
Owner

hwdsl2 commented Feb 24, 2018

@LevelOne2k Hello! This is currently a known issue, where multiple VPN clients behind the same NAT (e.g. home router) cannot connect simultaneously to the VPN server. For details, refer to [1] [2] [3]. This limitation applies both when using the same VPN user or different VPN users. For IPsec/XAuth a fix has been planned in the next Libreswan version [3].

[1] https://github.com/hwdsl2/setup-ipsec-vpn#important-notes
[2] #314
[3] libreswan/libreswan#166

@hwdsl2 hwdsl2 closed this as completed Feb 24, 2018
letoams added a commit to libreswan/libreswan that referenced this issue Sep 8, 2018
…4 behind same NAT

This is referenced in a number of bugs:

#166
hwdsl2/setup-ipsec-vpn#314
hwdsl2/setup-ipsec-vpn#323
hwdsl2/setup-ipsec-vpn#357
hwdsl2/docker-ipsec-vpn-server#62

Note that this patch only is half of the fix. The other fix is commit
9ccfe20 which prevents being stuck on the 0th lease when
can_share_lease() is FALSE (as it is for authby=secret)
@letoams
Copy link

letoams commented Sep 18, 2018

note libreswan 3.26 was released that addresses the issue related to bad lease ip re-use

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

3 participants