Appliance works fine, you just have to do a few things that they don't bother to tell you about :\
1. login to the console provided in vsphere client using the info here:
http://openvpn.net/index.php/access-server/download-openvpn-as-vm/469-deploying-openvpn-access-server-from-an-ovf-template-in-vmware-esxi-environment.html
2. after logging in as root, setup your network adapter via command line by typing
nano /etc/network/interfaces
3. the # are commented lines, remove the comments under "#the primary network interface"and put in the following under eth0 to have the openvpn pick up an IP from DHCP.
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
4. restart from command-line using
shutdown -r 0
5. then login again using root, update debian:
apt-get update
and wait for it to update.
apt-get upgrade
6. update openvpn-as to latest version, which right now is this, run wget:
wget http://swupdate.openvpn.org/as/openvpn-as-1.8.3-Ubuntu9.amd_64.deb
7. when its done downloading run:
dpkg -i openvpn-as-1.8.3-Ubuntu9.amd_64.deb
8. do another restart as in step 4.
9. Optional: add users/passwords for PAM authentication / so you can add them in user permissions tab in UI:
useradd yourusername
passwd yourusername
10. Optional, maybe: Set openvpnas to default settings.
/usr/local/openvpn_as/bin/ovpn-init --force
11. follow instructions.
Virtual Machine Details:
Top
OpenVPN Access Server Version: 1.7
RAM 1024MB
vCPU's 2
Operating System Debian 5 (64-bit)
Login to the VM root
Password openvpnas (Important: For maximum security please change this default password as soon as you start the VM)
Additional Packages Open SSH Server listening on port 22
Additonal Notes:
Top
- Edit Network adapters ( /etc/network/interfaces )
- run apt-get update; apt-get upgrade to apply all the latest fixes/patches/security updates to the Operating system prior to putting it in production.
- Access Server is already installed and configured on the VM.
Instructions to get started
After successful installation of the OpenVPN Access Server package you will be shown the following information in your terminal:
The Access Server has been successfully installed in /usr/local/openvpn_as
Configuration log file has been written to /usr/local/openvpn_as/init.log
Please enter "passwd openvpn" to set the initial
administrative password, then login as "openvpn" to continue
configuration here:
https://listeningip:943/admin
To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool.
Access Server web UIs are available here:
Admin UI:
https://listeningip:943/admin
Client UI:
https://listeningip:943/
You will need to run two more commands before navigating to the OpenVPN Access Server Admin UI:
This will setup Access Server and generate your Certificates
/usr/local/openvpn_as/bin/ovpn-init --force
You will then need to set your superuser password:
passwd openvpn