Configuring Site To Site VPN Connection Between Two Azure Networks - Part One

In this article, you will learn how to configure Site to Site VPN connection between two Azure networks.

Introduction - This article will help you in working with VPN connection on Azure. Here, by this demo, we will be configuring a Site-to-Site VPN connection between two Azure networks.

Pre-requisites

  1. An active Azure subscription.

Click here to get a free trial account of Azure.

Work flow of this article

My goal on this demo is to configure two virtual networks and connect them using VPN. So, I will be working on the below modules to connect them and configure the networks.

  • Create a V-net on different region - Create the Europe V-net
  • Add the Local Network for region 1 - Add the Europe Local Network:
  • Create a V-net on another different region – Create the US V-net:
  • Add the Local Network for region 2 - Add the US Local Network:
  • Configure the Europe site – to – site connectivity.
  • Create VPN gateway for the Europe v-net.
  • Set the VPN IP address in the Europe Local Network.
  • Configure the US v-net site – to – site connectivity.
  • Create the VPN gateway for the US v-net.
  • Set the VPN IP address in the US local network configuration.
  • Set the v-net VPN gateway keys.
  • Check the VPN Connectivity

Create the Europe V-net

Step 1 -
Login to the Azure portal and click on New - Network Services - Virtual Network - Custom Create.



Step 2 - Let's specify a unique name for this virtual network which we are going to locate at Europe.

Name- Fero_Vnet_EU
Location- North Europe.
Click on “Next”.



By default, V-net uses a DNS Server that has been assigned by Azure with help of Virtual Machines. We have not created any DNS Server so far. So, let's leave it blank and move on to Next.

Click on “Next”.



Step 3 - Let's configure the V-net address space over here. You will be getting the below screen by default. Make the changes on starting IP address, as made here.



Starting IP - 10.1.0.0
Address Count - /16 (65536) - For subnet : /24 (256)

Click on “Create”.



Here, you can find the “Fero-Vnet-EU” is getting created.



Add the Europe Local Network:

Step 4 - Click on Local Networks of the V-Net that we have created now.



Step 5 - Click on Add a Local Network.



Step 6 - Give the name of your Local Network over here and provide an IP address.

Name - Fero-Lnet-EU
VPN Device IP Address- 192.168.0.1

Click on “Next”.



Step 7 - Provide the starting IP address and Address Count.

Starting IP- 10.1.0.0
Address Count- /16 (65536)

Click on “Create”.



Create a V-net on another different region – Create the US V-net:

Step 8 - Click on New - Network Services - Virtual Network - Custom Create.



Step 9 - Name the Virtual Network over here, and give the Location.

Name-
Fero_Lnet_US
Location- East US.

Click on “Next”.



The same DNS Server as before is needed.Click on next leaving it as blank.



Step 10 -
Enter the starting IP address and Address count over here.



Starting IP- 10.2.0.0
Adress Count- /16 (65536) - Subnets: /24 (256)

Click on “Next”.


 
That's it. We have successfully created and configured the Site To Site VPN Connection.