I am trying to create a site to site connection between my home lab and my Azure subscription but unable to associate a local network gateway connection with a vNet Gateway.

Sandeep Goli 0 Reputation points
2023-03-25T09:38:01.4166667+00:00

When i try to select the vNet Gateway it shows the gateway to select but when i click on it nothing happens.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,380 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,142 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erkan Sahin 830 Reputation points
    2023-03-25T10:33:39.7133333+00:00

    To associate a local network gateway connection with a virtual network (vNet) gateway in Azure, follow these steps:

    1. Create a virtual network gateway: Go to the Azure portal and create a virtual network gateway. During the creation process, make sure to select the correct gateway type (VPN or ExpressRoute) and specify the correct virtual network.
    2. Create a local network gateway: Create a local network gateway object that represents the on-premises VPN device. You will need to provide the public IP address of the device, as well as any necessary configuration details such as the shared key.
    3. Configure the connection: In the Azure portal, navigate to the virtual network gateway and select "Connections" from the left-hand menu. Click "Add" to create a new connection. Select "Site-to-site (IPSec)" as the connection type, and select the local network gateway that you created in step 2. Configure any additional settings as needed, such as routing options.
    4. Download and configure VPN client: Download the VPN client configuration package from the Azure portal and configure it on the on-premises VPN device. This will typically involve importing the configuration file and entering the shared key.
    5. Verify connectivity: Once the connection is configured, you should be able to verify connectivity by pinging resources in the Azure virtual network from the on-premises network and vice versa.

    If you are still having trouble associating the local network gateway connection with the vNet gateway, please provide more details about the specific error message or issue you are experiencing, and I can provide more targeted assistance.

    0 comments No comments