Here are my rantings on internet marketing. I've given some good advice in some articles, and others, well. Take a look for yourself.
Blog » How to build your own VPN
Have you ever wanted to hide you IP address behind a VPN, or need to access country blocked content? Don't have the $100 a year budget to order a VPN via a service? Perhaps you're sick of downtime with your current provider or the VPN services you've tried before are overused and the speed is slow.
This tutorial will show you how you have have your very own VPN (Virtual Private Network) for less than $20 USD a year!
Note: This is for one person use only, if you plan on actually making a network with multiple logins, then you should get a dedicated server and pay for an OpenVPN licence.
There are a tonne of VPS (Virtual Private Server) services on the internet, but they're all quite expensive if you don't know what you're getting. I've been shopping around quite a bit lately, so here is the BEST VPS I've found that is cheap as all hell and reliable for what we're doing here.
Head on over here to order your own Linux VPS (link removed) account. The package I'm using right now to put this tutorial together is the Linux-1GB-OVZ which is $19 USD per year, which is very cheap for what you're getting: 4 Core CPU, 1GB RAM, 2TB Bandwidth, 25GB of HDD space and 1 IP address.
Once your server is activated, you will need to login to your Control Panel and turn on TUN/TAP and PPP. When you've done that, Reboot the server. You will then get a notification that the server has been rebooted, so now you can logout.
See the image on the right so you know you're in the right place.
This is the tricky part if you're not familiar with SSH Access. You will need to install PuTTY which is a free SSH (Secure Shell) client for connecting to your VPS. It's a console but you won't be there for long. Download PuTTY from here: http://bit.ly/1lDMe47
If you want to know more about how to use PuTTY, check out the video below. If you're comfortable then move into the next stage.
If you're going from the video above, where he puts in the connection address, you just use the IP address to your VPS server. The port is the same and the console will look the same.
Let's install OpenVPN now. Open up your console, login then run through any updates you might need. To do this just do:
You might see some errors, just ignore them. It's to do with the version of the OS.
Next we will need to download the OpenVPN platform and install it. Everything will be done on it's own, so really the hardest thing is typing all this crap out as PuTTY doesn't allow copy paste. At the time this tutorial is written OpenVPN 2.0.10 is the latest version. You can see what the latest version is by going here: http://bit.ly/1txt3vB
When you see it's downloaded – which should only take 2 seconds – you can now unpack and install.
dpkg -i openvpn-as-2.0.10-Ubuntu12.i386.deb
You should now have a message saying where you can login; It will will say Client and Admin with URLs. Write that down for a moment because we need to set a password for you to login. To change the password put in:
Then make up a secure password. Don't loose it!
In the console you should have written down something like:
Admin UI: https://xx.xx.xxx.xxx:943/admin
Client UI: https://xx.xx.xxx.xxx:943/
Note: xx.xx.xxx.xxx is your IP address.
If you go directly to your xxx/admin URL – don't forget the https – you should get a notification in your browser. This just means the SSL is self signed, you installed that so I hope you can trust it. Just click proceed and make an exception if it asks.
Now test the login to make sure your password is correct. The username is openvpn and your password is whatever you made it in the console. If that's all good then now we install the desktop client.
Go to the URL xxx:943 without the admin – again, don't forget the https – and you should be asked to login. Once you do login it will ask you to download the desktop client. It installs like any other windows application. Once installed it should have all your information already in place. Just click connect (to your IP) and add in the same username and password.
Excellent! you're now using a VPN you just put together yourself.
To test it out, just type into Google “what is my ip” and it should come up with the same IP as your VPS. If not then check the OpenVPN Connect icon in your system tray.
If you found this article useful, could you share it around. Very much appreciated if you do. 🙂
I’m a digital marketing and SEO consultant based in Sydney, Australia. I drink a lot of coffee and spend most of my time working on clients websites and improving their search visibility.