How to Create Virtual Network Gateways in Microsoft azure.

A VPN gateway is a specific type of virtual network gateway that is used to send encrypted traffic between an Azure virtual network and an on-premises location over the public Internet. You can also use a VPN gateway to send encrypted traffic between Azure virtual networks over the Microsoft network.


  • Login to azure portal.
  • Click on All Services.
  • Select Virtual Network Gateways.


Fig 1


  • Click on Add.

Fig 2


  • On Basics tab provide the following values:-


  • Subscription: An Azure subscription grants you access to Azure services.
  • Resource group name: A resource group is a collection of resources.
  • Provide the virtual network gateway name.
  • Select Region.
  • Select VPN or ExpressRoute Gateway type. VPN gateways use the virtual network gateway.
  • Select the VPN type that is specified for your configuration. Most configurations require a Route-based VPN type.
  • Select SKU:- Route-based VPN gateway types are offered in three SKUs: Basic, Standard, and High performance.
  • Generation of VPN gateway, changing Generation or changing SKU across generation is not allowed. Basic and VpnGw1 SKUs are supported on Generation1 only, VpnGw4 and VpnGw5 SKUs are supported on Generation2 only.
  • Then,Click on create or Select existing Virtual network.


Fig. 3

Fig. 4


  • At Virtual Network window,Provide the Virtual network name,IP address,Subnet name & IP address.
  • Click on Add.

Fig. 5


  • Create or Select existing Public IP address.
  • Select Enable active-active mode if you are creating an active-active gateway configuration. Otherwise, leave this setting Disabled.
  • Leave Configure BGP as Disabled.
  • Click on Tags.

Fig. 6


  • On Tags Tab provide the tag name and value for Virtual Network gateways.
  • Click Next on Review + Create.




  • If you get a message “Validation passed”.
  • Then click on Create.



  • After some time, you will see a message as “Your deployment is ready”.
  • Click on “Go to resources” & You can see that the virtual network gateway is there with the name we provide.

Leave a Reply