I leave here this little manual explaining how to create a VPN with Pritunl on a vps in ubuntu
http://demo.pritunl.com/login
dedo/demo
Ubuntu 16.04:
sudo apt-get update && sudo apt-get upgrade
echo "deb http://repo.mongodb.org/apt/ubuntu xenial / mongodb-org / 3.4 multiverse"> /etc/apt/sources.list.d/mongodb- org-3.4.list
echo "deb http://repo.pritunl.com/stable/apt xenial main"> /etc/apt/sources.list.d/pritunl.list
apt-key adv --keyserver hkp: // keyserver.ubuntu.com --recv 0C49F3730359A14518585931BC711F9BA15703C6
apt-key adv --keyserver hkp: //keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
apt-get --assume-yes atualizar
apt-get --assume-yes atualizar
apt-get --assume-yes instalar pritunl mongodb-org
systemctl iniciar pritunl mongod
systemctl ativar pritunl mongod
1.0- As soon as you do the installation you will have to go to the browser and put your ip / dns from your server
ex: https: // DND_or_IP: 9700
A window similar to this will open where you will need to enter your key
To obtain this key, through the putty type the command: pritunl setup-key and copy this key that will be generated for you.
2.0- Done the step above, let's enter the vpn
by default, the data is as
pritunl / pritunl
3.0- Now we will configure according to the data you want, these data (username / password) will be requested later when logging into vpn
Enter username: enter the name here
Enter new password: password
Public Adress: (here will be your server's ip / dns)
if you want to configure the rest you can configure
3.1- Now we are going to create an organization, so click on "Add Organization"
3.2- Having done these steps, we can now create our users, so we go to "Users" and "Add user"
3.3- Now we are going to add a new server, click on "Add Server" and enter a name you want
3.4- Finally, we will have to assign the group, for that we go to "Servers" and "Attach Organization"
3.5- Connect your vpn "Start Server"
4.0- To download the file, just click on the download icon
http://demo.pritunl.com/login
dedo/demo
Ubuntu 16.04:
sudo apt-get update && sudo apt-get upgrade
echo "deb http://repo.mongodb.org/apt/ubuntu xenial / mongodb-org / 3.4 multiverse"> /etc/apt/sources.list.d/mongodb- org-3.4.list
echo "deb http://repo.pritunl.com/stable/apt xenial main"> /etc/apt/sources.list.d/pritunl.list
apt-key adv --keyserver hkp: // keyserver.ubuntu.com --recv 0C49F3730359A14518585931BC711F9BA15703C6
apt-key adv --keyserver hkp: //keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
apt-get --assume-yes atualizar
apt-get --assume-yes atualizar
apt-get --assume-yes instalar pritunl mongodb-org
systemctl iniciar pritunl mongod
systemctl ativar pritunl mongod
1.0- As soon as you do the installation you will have to go to the browser and put your ip / dns from your server
ex: https: // DND_or_IP: 9700
A window similar to this will open where you will need to enter your key
To obtain this key, through the putty type the command: pritunl setup-key and copy this key that will be generated for you.
2.0- Done the step above, let's enter the vpn
by default, the data is as
pritunl / pritunl
3.0- Now we will configure according to the data you want, these data (username / password) will be requested later when logging into vpn
Enter username: enter the name here
Enter new password: password
Public Adress: (here will be your server's ip / dns)
if you want to configure the rest you can configure
3.1- Now we are going to create an organization, so click on "Add Organization"
3.2- Having done these steps, we can now create our users, so we go to "Users" and "Add user"
3.3- Now we are going to add a new server, click on "Add Server" and enter a name you want
3.4- Finally, we will have to assign the group, for that we go to "Servers" and "Attach Organization"
3.5- Connect your vpn "Start Server"
4.0- To download the file, just click on the download icon