Before this demo, we must configure the Virtual Networks and Virtual Machines as per the following configuration.
- Our Azure IP: 40.114.5.70
- Vnet IP: 10.0.0.0/24
- On-Premises IP: 104.43.131.170
- LAN IP: 192.168.0.0/24

Introduction
Site-to-site VPN is a type of VPN connection that is created between two separate network locations. It provides the ability to connect geographically separate locations or networks, usually over the public internet connection or a WAN connection.
Step 1 - Verify your Virtual Networks
In the Azure Portal, click the “Virtual Networks” and open “Blog-vnet”.

Step 2 - Creating a Gateway Subnet
Now, we have to create a Gateway subnet. So, select “Subnets” and then click “+ Gateway Subnet”.
Now, we need to enter the address range (CIDR block) and click “Ok”. The Gateway Subnet is an internal gateway in this network that Azure can use to route traffic back to your on-premises environment.

Step 3 - Creating Local Network Gateway
In this step, we need to create a “Local Network Gateway”. This represents our local on-premises networks. This Gateway shows our on-premises information so that Azure knows where our on-premises are running.
Go to “+ Create a resource”, start typing “Local network gateway”, and select it to begin configuring.

Step 4 - Creating Local Network Gateway contd.
The Local Network Gateway basically defines our on-premises IP address information, so click the “Create” button.

Step 5 - Configuring IP Information in the Local Network Gateway
Now, we need to fill our correct information.
- Name: SL-IN-VPN
- IP Address: 104.43.131.170 – Azure IP Address
- Address Space: 192.168.0.0/24 – LAN IP Address Range
Enter the other necessary information and click “Create”.

Step 6 - Creating Virtual Network Gateway
We need to create a Virtual Network Gateway that will become the endpoint to your connections.
Go to “+ Create a resource”, start typing “Virtual network gateway”, and select it to begin configuring.












Hadshana KamalanathanPosted Aug 23, 2019, 1:06 AM
Well done..