How to install OpenVPN AS on Ubuntu

by Ruchira on May 8, 2013




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





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


For 64bit OS


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


Thats it! You can use the OpenVPN clients to connect to your VPN. Download the official clients here .

I'm Ruchira Sahan and all posts on this blog are completely my thoughts and writings. I love DIY and Technology. So feel free to contact me for anything about this blog and don't forget to add a comment if this blog helped you! Thanks
View all posts by Ruchira

{ 10 comments… read them below or add one }

1 Lazaac May 10, 2013 at 4:20 AM

what’s the purposes of installing these..? Am I able to bypass blocked site like Hulu after that..?


2 Ruchira May 10, 2013 at 5:07 AM

Yes! you will be able to watch hulu,netflix or any US only service, if you install this on a US based server


3 Mike May 10, 2013 at 1:58 PM

Followed to the letter, all I get when I try to connect is “could not establish connection with the VPS server” any ideas?


4 Ruchira May 11, 2013 at 7:00 AM

can you login to openvpn admin panel?


5 joe May 19, 2013 at 11:08 AM

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


6 Ruchira May 20, 2013 at 5:23 AM

yes this does the same thing that you need


7 joe May 20, 2013 at 11:34 AM

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 🙁


8 Ruchira May 21, 2013 at 1:47 AM

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.


9 joe May 21, 2013 at 6:36 AM

ok thanks will check it out is it the firewall ports on the server or home computer


10 ai September 5, 2013 at 11:01 PM

the default password?


Leave a Comment

Previous post:

Next post: