install and configure OpenVPN - Easy with Ubuntu 12.04 - 64 bit

How To Install OpenVPN Access Server on Ubuntu 12.04


Enable Tun/Tap

1. just go to you contol panel in: https://my.cheapdomainnamesdot.com/clientarea.php?action=products
2. click on "view details"
3. click on tun/tap icon

you finsh enable tun/tap.

Software Installing Introduction

OpenVPN Access Server, from the official website is "a full featured SSL VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI, and OpenVPN Client software packages that accommodate Windows, MAC, and Linux OS environments."

The installation of OpenVPN AS is much simpler compared to the traditional OpenVPN (without any GUI). Another great thing about about OpenVPN AS (Access Server) is that it has a mobile application for both Android and iOS platforms, enabling you to access your OpenVPN server on your smartphone as well.

Basic Server Setup

In this tutorial, we are using an Ubuntu 12.04 64-bit cloud server. Go ahead and create one to follow along. If you need help with this, you can refer to this tutorial here. After you have started up your cloud server, let's make some adjustments before we install OpenVPN AS. Please follow this guide to prepare our cloud server for installation.

Installing OpenVPN Acess Server

Let's begin by logging in as the root user. From here, download the OpenVPN AS package:

sudo wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu12.amd_64.deb

The above link is for 64-bit cloud servers since that is what we've decided to use. If by any chance you're using a 32-bit version, the download link would be:

sudo wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu12.i386.deb

To install OpenVPN AS, enter the following command:

dpkg -i openvpn-as-2.0.7-Ubuntu12.amd_64.deb 

If you are using a 32-bit cloud server, enter the following command instead:

dpkg -i openvpn-as-2.0.7-Ubuntu12.i386.deb

That's it. OpenVPN AS is now installed. However, there are still some things left to do before we can use it. During the installation, OpenVPN has created a default admin user called 'openvpn'. We need to set a password for 'openvpn'. To do that, enter the following command:

sudo passwd openvpn

You'll be prompted to enter your desired password. Make sure your password is secure.

Administration and Client Software Setup

OpenVPN AS web interfaces can be found at:

Admin  UI: https://YourIpAddress:943/admin
Client UI: https://YourIPAddress:943/

Replace "YourIPAddress" with your actual cloud server's IP address. Then, head over to the Client UI to use the access server. You'll see a big bad security warning. But don't be alarmed, it is perfectly okay since we've self-signed our server's SSL. Ignore the warning and click Ok/Proceed and you'll be prompted for username and password. Enter 'openvpn' as the username and the password should be what you've set for 'openvpn' before. After filling out username/password, click 'Go' and you'll see a screen like this:

openvpn

Download the 'OpenVPN Connect' software by clicking the link. After it has finished downloading, run it and enter your login credentials. And voilĂ ! You are now connected to your OpenVPN Access Server.

You can login to the Admin UI if you need to make changes to your access server, although default settings works fine.

One more thing: remember that you can use OpenVPN access server with your smartphone? Download the official Android app here and the iOS app here.

Now, have fun with your OpenVPN Access Server!

Update:

As of OpenVPN Access Server v2.0, OpenVPN will no longer uses the 5.5.16.0/20 subnetwork for clients and will use the 172.27.240.0/20 subnet instead.

Was this answer helpful?

 Print this Article

Also Read

Setup Debian VNC server (with adding a GUI to your server)

For those of you who are interested in adding a GUI to your server that you can connect remotely...

Do you Allow Tun/Tap PPP or Proxy On VPS

Yes - We Allow Tun/Tap or PPP on any of our vps or cloud service.About proxy server - has long as...

Do you have a test IP ?

Test IP New York City (Manhattan) - Telehouse DataCenterPing IPV4: 104.245.233.40Ping IPv6:...

Server Uptime

All our hardware servers are provided with %99.9 uptime.

Can I order additional IPv4 IP?

You can order one additional ip on any vps plan, ip price is: $1.5/Month.if you need more...

Powered by WHMCompleteSolution