hwdsl2 / docker-ipsec-vpn-server

Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
https://hub.docker.com/r/hwdsl2/ipsec-vpn-server
Other
6.37k stars 1.38k forks source link

When I import the user certificate in the .sswan configuration on Android, I need to enter a password, but I don't know what it is #354

Closed xiaobfeng closed 1 year ago

xiaobfeng commented 1 year ago

I've tried the possible passwords in the system, but it still fails。

what is my password!!!

hwdsl2 commented 1 year ago

@xiaobfeng Hello! By default there is no password for client config files, unless you enabled the VPN_PROTECT_CONFIG=yes option when running the VPN setup script. In that case, the password should be in the output of the VPN script. Try adding a new IKEv2 client by running sudo ikev2.sh, then check the password in the output.

If using Docker, run docker exec -it ipsec-vpn-server ikev2.sh or docker logs ipsec-vpn-server. Otherwise, you can also uninstall the VPN and set it up again.

xiaobfeng commented 1 year ago

Thank you very much three times, the .sswan I generated again can be used directly, no password required