Skip to content

Instantly share code, notes, and snippets.

@musukvl
Created September 4, 2020 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musukvl/a8a87486902ed8769166549047ae8bbc to your computer and use it in GitHub Desktop.
Save musukvl/a8a87486902ed8769166549047ae8bbc to your computer and use it in GitHub Desktop.
Start VPN server on ubuntu and download client configuration
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