Skip to content

Instantly share code, notes, and snippets.

@ijasxyz
Created February 9, 2019 21:58
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 ijasxyz/8fadf1127b93c36043dffbf9256b4e31 to your computer and use it in GitHub Desktop.
Save ijasxyz/8fadf1127b93c36043dffbf9256b4e31 to your computer and use it in GitHub Desktop.
Install & Configure OpenVPN on a VPS
#1. Download the script (https://github.com/Nyr/openvpn-install)
wget https://git.io/vpn -O openvpn-install.sh
#2. Install the script & create new 'client'
bash openvpn-install.sh
#3. (OPTIONAL) To enable multiple connections per client
echo "duplicate-cn" >> /etc/openvpn/server.conf
#4. Restart openvpn service
systemctl restart openvpn@server.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment