Creating a VPN proxy service

  • Posted November 23, 2014

I want to create a VPN proxy on my droplet with Ubuntu Server. This will allow me some privacy when using open wifi in the cafe or elsewhere. I am a little unsure how to go about this. Can someone please help, advise and/or point me towards a working tutorial to guide me through the process?


I followed the instructions and even though I use

source ./vars

I still get the same result

NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/2.0/keys

Running the second command returns,

Please source the vars script first (i.e. “source ./vars”) Make sure you have edited it to reflect your configuration.

I googled around and turns out logging in as root solved the problem (rather than using sudo)

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

OpenVPN is usually a good choice for a VPN server. Spin up an Ubuntu 14.04 droplet, and follow this tutorial: How to Setup and Configure an OpenVPN Server on Debian 6 | DigitalOcean.

Because the tutorial is written for Debian 6 and you’re running Ubuntu 14.04, you will need to the run the following commands:

sudo apt-get install easy-rsa
sudo mkdir -p /etc/openvpn/easy-rsa/2.0/
sudo cp -r /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/2.0/

instead of

sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa /etc/openvpn

Let us know how it goes! :)