Created
April 26, 2015 20:29
-
-
Save makevoid/e23cb266745ece0b1b2c to your computer and use it in GitHub Desktop.
script_openvpn_darioinstall.sh
This file contains hidden or 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
| apt-get update && apt-get upgrade -y && apt-get install -y openvpn easy-rsa && mkdir /etc/openvpn/easy-rsa/ && cp /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/ && cd /etc/openvpn/easy-rsa/ && source vars && ./clean-all && ./build-dh && ./pkitool --initca && ./pkitool --server server && cd keys && openvpn --genkey --secret ta.key && sudo cp server.crt server.key ca.crt dh2048.pem ta.key /etc/openvpn/ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dario_andrei your openvpn oneliner