Created
September 4, 2020 21:12
-
-
Save musukvl/a8a87486902ed8769166549047ae8bbc to your computer and use it in GitHub Desktop.
Start VPN server on ubuntu and download client configuration
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
set VPS_PUBLIC_IP=1.2.3.4 | |
ssh ary@%VPS_PUBLIC_IP% "wget -O - https://gist.githubusercontent.com/musukvl/63367edcc9ae643baf1aac4a348a6828/raw/ac2a2194af647f82edc78febd40d205dd4e7c12e/install-vpn.sh | bash" | |
scp ary@%VPS_PUBLIC_IP%:/home/ary/vpn/openvpn_conf/client.ovpn . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment