Install OpenVPN
Hi, I'm Michael Sun, the creator of the resource manager app called Metaessen which can be used as bookmark manager or note-taking app.
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Openvpn Installation
On Debian/Ubuntu use:
# apt-get update && apt-get install openvpn
More details, refer to Official OpenVPN software repositories and Getting OpenVPN
Openvpn Setup
Server OS: Linux or Unix
Use one of the following setup scripts to configure openvpn.
-
OpenVPN road warrior installer for Ubuntu, Debian, CentOS and Fedora.
This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before.
Steps to use:
-
Download(On server):
$ wget https://git.io/vpn -O openvpn-install-nyr.shOr:
$ curl https://git.io/vpn -L -o openvpn-install-nyr.sh -
Run(On Server, and need root user):
# bash openvpn-install-nyr.shOr merge step 1 and 2:
# wget https://git.io/vpn -O openvpn-install-nyr.sh && bash openvpn-install-nyr.shOr:
# curl https://git.io/vpn -L -o openvpn-install-nyr.sh && bash openvpn-install-nyr.sh -
Copy the setup file to client(On client):
$ rsync --progress -vz -e "ssh -p 222" user@server_ip:"/the_path_to_setup_file/user1.ovpn" .Or:
$ scp -P 222 user@server_ip:"/the_path_to_setup_file/user1.ovpn" . -
Connect to server from client(On client, and need root user):
# openvpn /the_path_to_setup_file/user1.ovpn -
Use your vpn connection to use remote network, e.g. use browser to access https://google.com
After step 1 and step 2, you get the setup file for a user. If you want get another setup file for another user, repeat the two steps.
-
-
OpenVPN installer for Debian, Ubuntu, Fedora, CentOS and Arch Linux.
This script will let you setup your own secure VPN server in just a few seconds.
Steps to use:
-
Download(On server):
$ wget https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh -O openvpn-install-angristan.shOr:
$ curl https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh -o openvpn-install-angristan.sh -
Run(On Server, and need root user):
# bash openvpn-install-angristan.shOr merge step 1 and 2:
# wget https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh -O openvpn-install-angristan.sh && bash openvpn-install-angristan.shOr:
# curl https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh -o openvpn-install-angristan.sh && bash openvpn-install-angristan.sh -
Copy the setup file to client(On client):
$ rsync --progress -vz -e "ssh -p 222" user@server_ip:"/the_path_to_setup_file/user1.ovpn" .Or:
$ scp -P 222 user@server_ip:"/the_path_to_setup_file/user1.ovpn" . -
Connect to server from client(On client, and need root user):
# openvpn /the_path_to_setup_file/user1.ovpn -
Use your vpn connection to use remote network, e.g. use browser to access https://google.com
After step 1 and step 2, you get the setup file for a user. If you want get another setup file for another user, repeat the two steps.
-