Installing OpenVPN ALS (Adito) on Ubuntu

OpenVPN ALS is a web-based SSL VPN server written in Java. It has a browser-based AJAX UI which allows easy access to intranet services. OpenVPN ALS is a direct descendant of Adito, which was a fork of SSL-Explorer.

1) Open a terminal on your Ubuntu box.
2) SUDO SU (and enter your root password)
3) apt-get install default-jre icedtea6-plugin openjdk-6-jdk
4) apt-get install ant
5) Download Adito from: http://sourceforge.net/projects/openvpn-als/
6) Unpack the ZIP package you downloaded (recommanded: /opt/ )
6) CD to the folder where you extracted the ZIP package (e.g. CD adito-0.9.1)
7) ant install
8) Adito will tell you to log on to http://<servername>:28080 in order to configure Adito VPN
9) after configuring the web-based interface go to step 10
10) ant install-service (this installs as service in /etc/init.d)
11) ant start (you can also use stop or restart commands)
12) you can access Adito VPN on https://<servername>

Some issues you may encounter on 64-bit Ubuntu:

1)

BUILD FAILED
/opt/adito-0.9.1/build.xml:335: Could not find classes.jar from your JDK. Check the output of ant sysinfo.

Solved with: sudo apt-get remove openjdk-7-*

2) Service Adito Start – and Adito does not start

Solved with:

apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

Add these two lines:
wrapper.java.classpath.1=/opt/adito-0.9.1/lib/adito-boot.jar
wrapper.java.mainclass=com.adito.boot.Bootstrap
To this file:
/opt/adito-0.9.1/conf/wrapper.conf

Then run: service adito start