Creating an Azure VPN gateway

Now, we are going to configure the Azure VPN gateway. Perform the following steps:

  1. Navigate to Azure portal by opening https://portal.azure.com/.
  2. Select Create a resource and type Virtual network gateway into the search box.
  3. In the Create virtual network gateway, add the following values:
    • Subscription: Pick a subscription.
    • Name: PacktVnetGateway.
    • Region: East US.
    • Gateway type: VPN.
    • VPN type: Route-based.
    • SKU: VpnGw1.
    • Generation: Generation 1.
    • Virtual network: Click Virtual network/Choose a virtual network. Select PacktVPNVNet.
    • Public IP address: Here, you need to set the public IP address that is associated with the VPN gateway. The Azure VPN gateway only supports dynamically assigned IP addresses. However, once the IP address is associated with the VPN gateway, it will not change. The IP address will only change when the VPN gateway is recreated or deleted. Leave Create new selected. 
    • Public IP address name: PacktVNetGWIP.
    • Enable active-active mode: Disabled
    • Configure BGP ASN: Disabled:

Gateway settings
  1. Click Review + create and then Create to create the Azure VPN gateway.
  2. We need the public IP address for the VPN gateway later in this demonstration, so go to the overview of the Azure VPN gateway when it has been created. In there, copy the public IP address to Notepad:

Obtaining the public IP address
  1. Once you've created the gateway, open the Overview page of the VNet resource that we created earlier. The VPN gateway will be displayed on the Overview page:

VPN gateway in VNet

The Azure VPN gateway has been created, which means we can now set up the S2S VPN connection with the on-premises environment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset