mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 10:05:48 +03:00
[GH-ISSUE #57] Cannot connect to ipsec-vpn-server #51
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 @Roming22 on GitHub (Feb 19, 2018).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/57
Hi,
I'm deploying the container on a CoreOS 1632.3.0 server, and the container seems fine.
I've tried connecting from iOS, and from macOS. On macOS I tried using both the local IP of the CoreOS server and the public IP of the server (the Mac is on the same network).
Error is
The L2TP-VPN server did not respond. Try reconnecting. If the problem continues, verify your settings and contact your Administrator.This is the status of the container:
I do not think there is a firewall issue as I'm able to transmit data between the Mac and the server using netcat. I'm unsure on how to troubleshoot further.
Thank you for your help
@hwdsl2 commented on GitHub (Feb 20, 2018):
Note: Please first set up your own VPN server.
注:请首先 搭建自己的 VPN 服务器。
@Roming22 Hello! To troubleshoot further, please enable Libreswan logs by following the instructions [1], then try connecting the VPN. After that check the logs with:
If you don't see your connection attempt appearing in the logs, then it is a firewall issue.
[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs
@Roming22 commented on GitHub (Feb 20, 2018):
The output from the logs are:
Any idea what that could be? A google search turned up mostly empty.
I've configured the VPN with the following values, on the latest macOS and iOS:
@cirience-zz commented on GitHub (Feb 22, 2018):
I have exactly the same problem. I don't even have auth.log
@hwdsl2 commented on GitHub (Feb 22, 2018):
@Roming22 Can you please share more log lines? In particular all the lines
that were output when Libreswan starts.
@SHA-256 Please follow the instructions in my earlier comment in this issue
to enable Libreswan logs, then post your logs.
@cirience-zz commented on GitHub (Feb 22, 2018):
Thank you for your answer! That's my log:
@hwdsl2 commented on GitHub (Feb 22, 2018):
@SHA-256 The ‘retransmit’ lines in your logs indicate that this is caused
by network issues between your VPN client and server, and not a problem
with the VPN server itself.
@cirience-zz commented on GitHub (Feb 22, 2018):
@hwdsl2 Oh, I'm so stupid. Thanks for your help and effort!
@Roming22 commented on GitHub (Feb 22, 2018):
@hwdsl2 Here's the full log, sorry for not including it earlier.
@hugo187 commented on GitHub (Feb 24, 2018):
I am having the same issue. It seems there isn't userspace support for IPSEC in CoreOS.
See https://github.com/coreos/bugs/issues/558
@a1liz commented on GitHub (Feb 27, 2018):
The same issue. I have used this service for several weeks, but it suddenly doesn't work.
Here's my log:
@Roming22 commented on GitHub (Feb 27, 2018):
@hugo187 Did you try running within the toolbox? I wonder if one could run docker within the toolbox (which seems to support userspace) and have the ipsec-vpn-server running on that. Let me know if you manage to run it on coreos, as I'd prefer running that distro.
@hwdsl2 Following hugo187 comment, I've switched to Ubuntu server 17.10, and it works fine on my iPhone when using the IPSec VPN configuration.
@hwdsl2 commented on GitHub (May 5, 2018):
@Roming22 Hello! Your IPsec logs indicate that the VPN cipher
aes256-sha2_512is not supported under CoreOS. Edit/etc/ipsec.confand remove the,aes256-sha2_512part fromike=andphase2alg=lines, then runservice ipsec restart.@tswsxk commented on GitHub (Apr 10, 2019):
The same issue and occurs suddenly.
Here is my log
@parsalotfy commented on GitHub (Sep 24, 2019):
@tswsxk did you finally come up with a solution for this problem ?
I have this problem and I couldn't find a way to fix that :(
I googled a lot