fbpx

How to setup OpenVPN in a

Sometimes, especially with all of the sales, you can gather quite a few extra VPS servers. Especially small ones that aren’t very good for large scale projects. This is why I decided to turn one of my low end VPS servers (that’s redundant, isn’t it…) into an openVPN server that I can use to securely access the Internet. This is especially helpful for on my Android phone when connecting to wireless hot spots. You never know who is looking at your traffic.

So let’s get started!

 

Open VPN is very powerful. It can be customized in many different ways and for the sake of this article we are going to set up a simple and easy to use version of OpenVPN called OpenVPN AS. This will allow you to create user account, limit bandwidth, configure tunneling, and all that good stuff right from a web browser without having to mess with confusing configuration files. The only downside to this is the python server for the web interface takes up a bit more memory than a vanilla, manual configured, OpenVPN server. But it is still completely worth it. I have tested this on a ~320MB OpenVZ VPS and it runs flawlessly. Just make sure your provider enable TUN/TAP for your container. That should only be necessary on OpenVZ. On the other hand, KVM server will allow you to proceed full steam ahead!

First off, I would recommend preforming a clean install of Debian 6 to your VPS through the providers web control panel. It’s not required but just in case there are some left over packages from your previous projects, it should clean up them up.

Now we are ready to grab the packages we need!

wget backup.shineservers.in/openvpn.sh

 

chmod +x openvpn.sh

 

sh openvpn.sh

For any other issues and feedback please e-mail us at [email protected]

Leave a Reply

Your email address will not be published. Required fields are marked *