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
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl") #1
Comments
Note: Please first set up your own VPN server.注:请首先 搭建自己的 VPN 服务器。@djoey123 Please provide more info about your host system, is it on Linux, Mac or Windows? If Linux, which distribution and version? Post the output of "uname -a". Can you also try the following: On the host, run "sudo modprobe af_key", then "docker restart ipsec-vpn-server". See if this solves the problem. |
@djoey123 A user on the Proxmox forum had a similar issue [1], which was caused by not rebooting the server after a recent kernel upgrade. Please try rebooting the host system and start the container again with "docker start ipsec-vpn-server". [1] https://forum.proxmox.com/threads/error-could-not-insert-iptable_nat-exec-format-error.21802/ |
It didn`t help, |
@djoey123 Please run these commands on the host and post the output:
|
|
@djoey123 Thanks for the info. It seems the
|
@djoey123 OK I just successfully reproduced the issue you had on a Fedora 23 system myself. However after running "sudo modprobe af_key" on the host, the container now runs fine without issues. I'll add the modprobe step to the README to let others know. Thanks for reporting this issue! If the issue is resolved feel free to close it. |
I got still this problem
you cant connect to the server |
@djoey123 The new output looks fine. Please ignore the xl2tpd messages, they are normal. Which VPN client are you using? Did you follow the configuration steps at https://git.io/vpnclients ? |
It looks like it cant connect to the port of the server. And yes i followed everythinh |
Please check the docker logs and connect using the credentials shown in the output. Did you see any error message? |
Nope only the log what i have send u before. No connection logs or something |
Are you using Windows, Mac, Android or iOS as the VPN client? Please double check and re-enter the VPN credentials. Do you see any error message on the VPN client itself? |
I use windows as vpn client. |
Please restart the container with "docker restart ipsec-vpn-server". Do not attach to the container. Try connecting again from Windows. Do you see any error? e.g. Error 809, Error 628, etc. |
Its working now i dont know what the problem was... 1 more thing: |
@djoey123 Glad to hear it is working. And thanks for the suggestion. To add more users, first get a shell inside the container:
Then edit
Refer to [1] for the format of those files. Next, edit
Comment out these lines:
When finished,
[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/manage-users.md |
I got this error: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
When i check if the server is running how can i fix this?
More error logs of the docker:
The text was updated successfully, but these errors were encountered: