Deploying OpenVPN Access Server from an OVF Template in VMWare ESXi Environment

Step 1: vSphere Client
Step 2: Deploy OVF Template
Step 3: OVF Template URL
Step 4: OVF Template Details
Step 5: Virtual Machine name
Step 6: Map Ethernet Adapters
Step 7: Deploy

- Virtual Machine Details
- Additional Notes


 

 

1

 

 

STEP 2: Click File > Deploy OVF Template

 

Top

 

 

2

 

 

STEP 3: Select "Deploy from URL:" and use the following URL, http://swupdate.openvpn.org/esxi/OpenVPN-AS/OpenVPN-AS.ovf click next.

 

Top

 

 

3

 

 

STEP 4: Verify OVF Template Details

 

Top

 

 

4

 

 

STEP 5: Name your Virtual Machine

 

Top

 

 

5

 

 

STEP 6: Map the Ethernet Adapters (eth0 eth1) according to your vSwitch setup

 

Top

 

 

6

 

 

STEP 7: Click Finish to Deploy the OpenVPN Access Server 1.7 Virtual Machine

 

Top

 

 

7

 

 

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