Hyper-V Quick Start Guide

Hyper-V Quick Start Guide

Running the OpenVPN Access Server VHD in Hyper-V

This guide will help you understand the basics for setting up and deploying the OpenVPN Access Server VHD image in Hyper-V

Requirements to take into consideration before deploying your VHD on a Hyper-V machine:

This guide is meant to help you configure your Hyper-V VHD for OpenVPN Access Server. If you need more information regarding the basics of OpenVPN Access Server please check out our Quick Start Guide.

Step 1:

We will assume you already have the Hyper-V role configured on your Windows Server 2008/R2 Installation. You will need to navigate to the Hyper-V manager:

Start>Administrative Tools>Hyper-V Manager

Step 2:

After opening the Hyper-V Manager you will need to make sure you have downloaded and extracted the most recent OpenVPN Access Server VHD. In this example we have copied the VHD to the Desktop.

Step 3:

In this step you will need to create a new Virtual Machine in the Hyper-V Manager. To do this you will need to click: New>Virtual Machine on the top right hand side of the Hyper-V Manager Interface.

Step 4:

After clicking New>Virtual Machine you will see a “Before You Begin" window appear. Go ahead and click “Next".

Step 5:

You will now see the window “Specify Name and Location". This is where you will Choose your VM Name, in this case we named ours “OpenVPN-AS". After entering in your desired machine name go ahead and press “Next".

You will now see the window “Assign Memory" appear. The default value for the memory will be set at 512 MB, you can go ahead and change this to 256 MB if needed.

Step 7:

You will now see the “Configure Networking" window appear. For now we will not select a Connection. Go ahead and click “Next" to continue.

Step 8:

1. You will now see the “Connect Virtual Hard Disk" window appear. You will need to select “Use an existing virtual hard disk" and hist “Browse".

2. After clicking the “Browse" button a new window will appear. You will need to locate the extracted VHD file and click “Open".

3. After you have located the VHD and clicked “Open" you will be brought back to the “Connect Virtual Hard Disk" window. Go ahead and click “Next" to continue.

Step 9:

You are now done with the Virtual Machine Wizard. Go ahead and click “Finish" to continue.

Step 10:

You will now be brought back the the Hyper-V Manager. Make sure your OpenVPN-AS machine is highlighted and click “Settings" on the bottom right side of the Hyper-V Manager Interface.

Step 11:

1. One you are in the Machine Settings area for the OpenVPN Access Server Machine go ahead and click the “Legacy Network Adapter" under “Add hardware" and click “Add"

2. You will now see a configuration window appear for the Legacy Network Adapter. For the Network You will want to select: “Local Area Connection – Virtual Network" If you are running Windows Server 2008 (Non-R2) you will need to manually configure a MAC address which can be located via the Virtual Network Interface on the Hyper-V Manager interface. In this example we are using Windows Server 2008 R2. Windows Server 2008 R2 has a new feature that allows Mac address spoofing which we are taking advantage of. After doing this please click “Ok" to continue.

Step 12:

1. You will now be brought back the the Hyper-V Manager Interface. Go ahead and select the OpenVPN-AS machine and click “Start" in the bottom right hand side of the Hyper-V Manager Interface.

2. After starting the Vitual Machine you will need to click “Connect" in the bottom right of the Hyper-V Manager interface to bring up the terminal window.

Step 13:

You will now see the Initial Configuration Tool appear in terminal. You will need to go ahead and click “Yes" to agree with our User Agreement. If you require more info about the Initial Configuration Tool you can head over to the following link:

How to configure OpenVPN-AS after package installation? 


Hyper-V Quick Start Guide