mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 18:15:50 +03:00
[GH-ISSUE #147] Can't connect two devices with same IP simultaneously #134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 31, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/147
When my PC is connected to the VPN server, I can't connect my phone which is on same WiFi, but once I disconnect my PC it connects but then my PC can not get connected.
Am i doing something wrong?
@hwdsl2 commented on GitHub (Jun 1, 2019):
@alirezarzna Hello! The IPsec/L2TP mode has limitations that it does not support multiple devices from behind the same NAT. Use only IPsec/XAuth ("Cisco IPsec") mode for this use case. See README.
This issue can also occur when you connect two devices from the same IP using different modes, for example, one using IPsec/L2TP and the other using IPsec/XAuth ("Cisco IPsec") mode. After connecting the first device, the VPN server "remembers" the mode from that IP, and will refuse connections using a different mode. To resolve, use the same mode for all such devices.