Creating a Point-to-Site VPN to your Azure Virtual Machines

 Apr 12, 2016

In today’s blog, I am going to talk about establishing a VPN connection between your local machine and remote Azure network.

This entire process can be divided in 4 steps.

Create the virtual network

From the Azure management portal, create a virtual network. Specify a name, region, affinity group and affinity group name.

In the next step of the wizard, specify point to site VPN checkbox.

From the next step, you need to define the virtual network address space and a gateway subnet.

It will take some time for the network to get provisioned.

Configure the virtual network

Once the network creation is done, go to the dashboard of the network. You will see that the gateway has not been created.

Click on the create gateway link to create the gateway.

Configure the certificates

In order to setup the point to site VPN connectivity, you will have to create a trusted root certificate and a client certificate.

There are several tools available to create the certificates, but I have found makecert as the most convenient option. You can download makecert as a part of SDK download.

Once the certificates are created, open the Azure Management Portal and go into the Dashboard of your new Virtual Network. Click the Certificates tab and select Upload to upload a certificate.

Download the VPN client

You do not need to manually configure the VPN connection.

Go to the Dashboard of the virtual network a click the appropriate VPN package to download depending on the operating system you plan to install this on, either 32-bit or the 64-bit. This will create an installer package that you can install on your machine.

Select the VPN connection and click Connect to test the VPN connection. This will start the VPN app. Click Connect again to start the connection.

Once connected, you will be able to establish a secure connection from your PC to the virtual machine.

How do your Excel skills stack up?   

Test Now  

About the Author:

San Roy  

San is a highly skilled IT Infrastructure professional with over 15 years experience in a technical training capacity. Throughout his career as a technical training consultant San Has been responsible for the development of numerous IT professionals, providing knowledge and expertise in the areas of Server Operating Systems, Database Management Systems, Messaging and Collaboration. San primarily specialises in delivering training in Microsoft products including Windows Server OS, Windows Client OS, SQL Server, SharePoint Server and Exchange Server. Through his years of practical experience as a technical trainer he is able to provide added insight and value to students that reach beyond the scope of a standard course outline. San has established himself as one of New Horizons' preferred trainers by continually bringing a combination of technical expertise and personality to the classroom each day.

Read full bio
top
Back to top