Open 917428360 opened 7 years ago
docker run -itd --privileged --cap-add=SYS_ADMIN -e "HOSTIP=47.52.43.229" -v /root/IKEv2-radius-vpn-docker/conf/strongswan.conf:/usr/local/etc/strongswan.conf -v /root/IKEv2-radius-vpn-docker/conf/ipsec.secrets:/usr/local/etc/ipsec.secrets -v /root/IKEv2-radius-vpn-docker/scripts/vpn:/usr/bin/vpn -p 500:500/udp -p 4500:4500/udp --user=root --name ikev2-vpn-server ikev6
After generating the root certificate, you can directly export the certificate file without the user to create it in your vpn script