OpenVPN Application Layer Software (ALS), formerly know as [http://adito.wiki.sourceforge.net Adito], is a web-based SSL VPN server written in Java. It has a browser-based AJAX UI which allows easy access to intranet services. Once installed and configured correctly, you will be able to access all your server files and the HDA (to include applications) using https://user.yourhda.com (tested with Firefox and Internet Explorer).
* To install, open a terminal window and become '''root''' user. Execute the following commands:
yum -y install ant java-1.6.0-openjdk-devel
echo "export JAVA_HOME=/usr/lib/jvm/jre-1.6.0-openjdk" >> /etc/profile.d/java.sh
echo "export PATH=\$JAVA_HOME/bin:\$PATH" >> /etc/profile.d/java.sh
source /etc/profile.d/java.sh
mkdir /var/hda/web-apps/myadito
wget http://superb-west.dl.sourceforge.net/sourceforge/adito/adito-0.9.1-bin.tar.gz
tar –xf adito-0.9.1-bin.tar.gz
mv adito-0.9.1/ server/
cd server
ant install
* When instructed, open a web browser and navigate to http://hda:28080 (or IP address). Complete the required information as shown [http://wiki.amahi.org/images/3/39/OpenVPN_ALS_Amahi_Config.pdf here].
* Once complete, continue with the commands below:
ant install-service
ant start
service adito stop
sed -i 's/wrapper.working.dir=./wrapper.working.dir=\/var\/hda\/web-apps\/myadito\/server/' /var/hda/web-apps/myadito/server/conf/wrapper.conf
sed -i 's/#wrapper.java.additional.2=-Dfile.encoding=UTF-8/wrapper.java.additional.2=-Dfile.encoding=UTF-8/' /var/hda/web-apps/myadito/server/conf/wrapper.conf
service adito start
* After everything is finished and Adito has been started, you can access it via https://localhost (can use host name or IP address).
'''''NOTE:''''' This install will not integrate Adito in the Amahi Dashboard. The one-click install and HDA integration is currently under development.
----
=== Optional Settings: ===
** Not all HDA apps will work (i.e. phpsysinfo)
** There is no port restriction (uses 443).
Additional guidance will be added as it becomes available.