aliasmee / ikev2-radius-vpn-docker

This project has been abandoned, please turn around -->
https://github.com/aliasmee/alpine-ikev2-vpn
GNU General Public License v3.0
19 stars 5 forks source link

one suggestions #2

Open 917428360 opened 7 years ago

917428360 commented 7 years ago

After generating the root certificate, you can directly export the certificate file without the user to create it in your vpn script

aliasmee commented 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