mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #1] whack: Pluto is not running (no "/var/run/pluto/pluto.ctl") #3
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 @djoey123 on GitHub (May 28, 2016).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/1
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:
@hwdsl2 commented on GitHub (May 28, 2016):
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.
@hwdsl2 commented on GitHub (May 28, 2016):
@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/
@djoey123 commented on GitHub (May 28, 2016):
It didn`t help,
Info: Fedora 23 Server
Linux localhost.localdomain 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
@hwdsl2 commented on GitHub (May 28, 2016):
@djoey123 Please run these commands on the host and post the output:
@djoey123 commented on GitHub (May 28, 2016):
@hwdsl2 commented on GitHub (May 28, 2016):
@djoey123 Thanks for the info. It seems the
af_keymodule successfully loaded on the host. Did you try starting the container again?@hwdsl2 commented on GitHub (May 28, 2016):
@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.
@djoey123 commented on GitHub (May 28, 2016):
I got still this problem
you cant connect to the server
@hwdsl2 commented on GitHub (May 28, 2016):
@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 ?
@djoey123 commented on GitHub (May 28, 2016):
It looks like it cant connect to the port of the server. And yes i followed everythinh
@hwdsl2 commented on GitHub (May 28, 2016):
Please check the docker logs and connect using the credentials shown in the output. Did you see any error message?
@djoey123 commented on GitHub (May 28, 2016):
Nope only the log what i have send u before. No connection logs or something
@hwdsl2 commented on GitHub (May 28, 2016):
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?
@djoey123 commented on GitHub (May 28, 2016):
I use windows as vpn client.
When i try to connect the container with
Docker attach nameofthecontainer
I got the error: death_handler: Fatal signal 2 received.
After that error the container stops working
@hwdsl2 commented on GitHub (May 28, 2016):
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.
@djoey123 commented on GitHub (May 29, 2016):
Its working now i dont know what the problem was...
I got 1 other question how can i add more users in the server?
1 more thing:
The next time you start the container it is maybe beter the password will be hided?
@hwdsl2 commented on GitHub (May 29, 2016):
@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
/etc/ppp/chap-secrets(for IPsec/L2TP) and/etc/ipsec.d/passwd(for IPsec/XAuth):Refer to [1] for the format of those files.
Next, edit
/opt/src/run.shand comment out some lines, in order to preserve config files after restart.Comment out these lines:
When finished,
exitthe container. Then restart it:[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/manage-users.md