In this example we’ll connect virtual networks located in different Azure regions.This connections is called VNet to VNet.VNet-to-VNet connectivity utilizes the Azure virtual gateways to connect two or more virtual networks together.

Creating Gateway subnet-West Europe

Before deploying Virtual Network Gateway we need first to deploy gateway subnet

In subnet properties click + Gateway subnet

Creating Virtual network gateway

In Azure portal click new resource-Virtual network gateaway

Gateway type:VPN

VPN Type:route-based

Creating virtual network in North Europe

Creating Gateway subnet

Defining subnet

Creating Virtual Gateway

In similar way Virtual Network gateway is created in west europe (gateway subnet-10.0.2.0/24)

Creating virtual machine in North Europe region

VM is created in North Europe and assigned to vnet-northeurope network

Web application firewall (WAF) is a feature of Application Gateway that provides centralized protection of web applications from common exploits and vulnerabilities.

Web Application Firewall work differently from a standard IP firewall. A normal firewall is designed to block individual TCP or UDP ports, or to restrict the type of traffic that’s allowed to flow across a particular port. However, WAFs are designed to monitor HTTP or HTTPS traffic that’s being sent to a Web application. The firewall’s job is to determine whether the traffic is normal user traffic, or if it’s something malicious. An example of a malicious request might be a hidden field manipulation attack. If malicious traffic is detected, then the WAF will block the request to prevent it from reaching the Web application server, and will typically also terminate the session.