If you want to get OpenVPN running on your server, the easiest way is using the OpenVPN-AS ( Access Server ). OpenVPN-AS is the commercial version of opensource OpenVPN project. But they are kind enough to let you use the OpenVPN-AS free for 2 concurrent users. Of course you can buy licenses and increase the user limit, But for personal use its enough.
Installing OpenVPN-AS is very easy compared to the regular OpenVPN and it comes with a nice web based management interface as you can see on above screenshot. Also the web interface has nice options like showing bandwidth usage, connected user info etc. You can run OpenVPN-AS on 128MB ram VPS or higher. 128MB of RAM is more than enough for this purpose. Just grab a 128MB OpenVZ VPS from Ramnode or BuyVM and lets get in to the installation,
Note :- OpenVPN-AS is available for many linux distros but Ill cover the Ubuntu and Debian. Install 32bit version of Ubuntu or Debian if you have less than 256MB of RAM on your VPS or Dedi. Also don’t forget to enable TUN/TAP and PPP if you are using an OpenVZ VPS like shown below
Installation
First of all lets update the system and packages
apt-get update
apt-get upgrade
Then lets download the installation files from the OpenVPN web site
For 32bit OS
wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.i386.deb
For 64bit OS
wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.amd_64.deb
Then we just have to install it
On 32bit OS
dpkg -i openvpn-as-1.8.5-Ubuntu12.i386.deb
On 64bit OS
dpkg -i openvpn-as-1.8.5-Ubuntu12.amd_64.deb
Now we have to set a password for the openvpn user by below command. Enter a password you wish and this will be used to login to admin panel and the VPN.
passwd openvpn
Now you can access the admin panel by visiting
https://yourip:943
Thats it! You can use the OpenVPN clients to connect to your VPN. Download the official clients here .
{ 10 comments… read them below or add one }
what’s the purposes of installing these..? Am I able to bypass blocked site like Hulu after that..?
Yes! you will be able to watch hulu,netflix or any US only service, if you install this on a US based server
Followed to the letter, all I get when I try to connect is “could not establish connection with the VPS server” any ideas?
can you login to openvpn admin panel?
Hi thanks for the How to install OpenVPN-AS on Ubuntu or Debian guide I wanted to ask you how does this setup work on this guide is this to be able to use your vpn to use your home internet anonymous protect my privacy with a hidden IP address and encrypted traffic will this guide help with this the reason i’m asking is because I got a vps and would like to use it for this need help please
yes this does the same thing that you need
hi Ruchira thanks for the reply back and the guide I tried this on a mKS 2G dedicated server but did not work am getting after install went well but when I try to access the admin page with ie or firefox am getting can’t connect can this be done with a mKS 2G dedicated server or it needs to be a vps 🙁
Its possible to do this on any type of VPS or Dedi. You should make sure the ports are opened on the firewall. From what I remember there is a option to open up the ports on the kimsufi manager.
ok thanks will check it out is it the firewall ports on the server or home computer
the default password?