Created
April 20, 2017 11:05
-
-
Save alastairhm/3543d5a4f9c4718990230600d9553c9b to your computer and use it in GitHub Desktop.
Create a new VPN cert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export OVPN_DATA="ovpn-data" | |
docker run --volumes-from $OVPN_DATA --rm -it kylemanna/openvpn easyrsa build-client-full ${1} nopass | |
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_getclient pizero > ${1}.ovpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment