Created
December 7, 2018 06:05
-
-
Save dapperfu/f8e2f9439cf041abbc3c39d359169889 to your computer and use it in GitHub Desktop.
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
pkg install -y curl openvpn | |
mkdir -p /usr/local/etc/openvpn | |
cd /usr/local/etc/openvpn | |
curl -OL https://www.privateinternetaccess.com/openvpn/openvpn-strong-tcp.zip | |
unzip openvpn-strong.zip | |
renamex -s"/ /_/" *.ovpn | |
sed -i .bak -e "s/crl-verify crl/crl-verify \/usr\/local\/etc\/openvpn\/crl/" *.ovpn | |
sed -i .bak -e "s/ca ca/ca \/usr\/local\/etc\/openvpn\/ca/" *.ovpn | |
echo "auth-user-pass /usr/local/etc/openvpn/pass.txt" >> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment