Deploying Hypersocket VM in Microsoft Azure


Download the Azure image


You can download the Azure image directly from this link:

When the file has downloaded, unzip it so that you have a .vhd file.


Uploading the VHD to Azure

To upload the Virtual Hard Disk to Azure, you need to have an Azure subscription as well at the Microsoft Azure Powershell module installed on your system.

Please refer to the following Microsoft link to find out how to install the Powershell module as well as uploading the VHD file.

NOTE: You should skip step 1 in the above link as we have already prepared the VHD file for you.

To summarise, on an Azure account which already has a storage account created, these are the Powershell commands that were executed to upload and register the image (with relevant arguments of course):

  • Add-AzureAccount
  • Select-AzureSubscription ...
  • Set-AzureSubscription ...
  • Add-AzureVhd ...
  • Add-AzureVMImage ...


Creating the Virtual Machine

Log on to Azure at

In the menu on the left, select Virtual Machines, then click the Create a Virtual Machine link.

Click on From Gallery, then select My Images then select the image that was created earlier.

Click the Next arrow

Give the VM a Name and choose a Tier and Size.

Choose a username. For consistency with our other virtual machines, we recommend using the product name as the username. e.g hypersocket-vpn, hypersocket-sso etc.

Choose the authentication type (Certificate and/or Password) then click on the Next arrow.


Choose the region and availability options as required.

Add a new HTTPS endpoint (and optionally a HTTP endpoint) and click on the Next arrow.


Ensure the box is ticked for The VM agent that supports extensions is already installed.

Click the Tick button at the bottom right to finish and create your VM.


Your Hypersocket VM is now ready to use. Once completely booted, the public IP address of your instance will be visible in the Azure Dashboard.

The username and password, or username and key will be whatever was chosen during provisioning.


Connecting to your VM

Log on to Azure at

Click on Virtual machines (classic) on the left hand side, your deployed VM should be listed here and running.

You can select the virtual machine to see its DNS name and virtual IP address.


Web UI

You should be able to use a web browser to connect to this DNS name using https://<hostname>.

As this is the first time you have accessed the server, it should display the Setup Wizard. Follow this wizard to complete the initial setup of the server.


Once the wizard has completed, you can now log on to the server and start to configure your users and resources.


SSH access

Using an SSH client of your choice you can also connect to the server over SSH using the username and password that you chose during deployment of the VM above.



Hypersocket products on Virtual Machines include a UI running on the console called VMCentre. This tool can be used to change the networking, monitor the service, get access to the logs and open a support tunnel.

On a cloud based VM you do not have access to this console, so VMCentre is available to connect to via VNC. However, this VNC port is not externally accessible for security reasons but you can use an SSH client to tunnel to the console.

First however, we need to set a password for the root account. To do this, connect via SSH and run the following command: sudo passwd root.

You will be prompted for your azureuser password to elevate your privileges and then will be prompted to type in a new password and confirm that password.


Now, back the VNC connection. On a Windows client you might want to use PuTTY to tunnel to the VNC port.

Start a new session and put in the hostname for the VM.


On the left side expand Connection->SSH and click on Tunnels.

In Source port, type in the port that SSH will set up on your client machine, here we will use 5900 as we don't have a VNC server on our client.

For Destination, type in localhost:5900 and click the Add button.

Click Open to start the session and log in with your SSH credentials.
Now whilst the SSH session is running, a tunnel should also be connected.


Using a VNC client of your choice (here we are using UltraVNC), connect to localhost::5900


You will then be prompted for a password, type in the root password and click Login.


You are now presented with the VMConsole display.


Have more questions? Submit a request