Redigera

Dela via


Use Azure Network Adapter to connect a server to an Azure Virtual Network

A lot of workloads running on-premises and in multi-cloud environments require connections to virtual machines (VMs) running in Microsoft Azure. To connect a server to an Azure Virtual Network, you have several options, including Site-to-Site VPN, Azure Express Route, and Point-to-Site VPN.

Windows Admin Center and Azure Network Adapter provide a one-click experience to connect the server with your virtual network using a Point-to-Site VPN connection. The process automates configuring the virtual network gateway and the on-premises VPN client.

When to use Azure Network Adapter

Azure Network Adapter Point-to-Site VPN connections are useful when you want to connect to your virtual network from a remote location, such as a branch office, store, or other location. You can also use Azure Network Adapter instead of a Site-to-Site VPN when you require only a few servers to connect to a virtual network. Azure Network Adapter connections don't require a VPN device or a public-facing IP address.

Requirements

Using Azure Network Adapter to connect to a virtual network requires the following:

  • An Azure account with at least one active subscription.
  • An existing virtual network.
  • Internet access for the target servers that you want to connect to the Azure virtual network.
  • A Windows Admin Center connection to Azure. To learn more, see Configuring Azure integration.
  • The latest version of Windows Admin Center. To learn more, see Windows Admin Center.

Note

It’s not required to install Windows Admin Center on the server that you want to connect to Azure. However, you can do that in a single server scenario.

Add an Azure Network Adapter to a server

To configure Azure Network Adapter, go to the Network extension for it in Windows Admin Center.

In Windows Admin Center:

  1. Navigate to the server hosting the VMs that you want to add to Azure Network Adapter.
  2. Under Tools, select Networks.
  3. Select Add Azure Network Adapter.
  4. On the Add Azure Network Adapter pane, enter the following required information, and then select Create:
    • Subscription

    • Location

    • Virtual Network

    • Gateway Subnet (if doesn’t exist)

    • Gateway SKU (if doesn’t exist)

    • Client Address Space

      The client address pool is a range of private IP addresses that you specify. The clients that connect over a Point-to-Site VPN dynamically receive an IP address from this range. Use a private IP address range that does not overlap with the on-premises location that you connect from, or the virtual network that you want to connect to. We recommend using IP addresses that are in the ranges designated for private networks (10.x.x.x, 192.168.x.x, or 172.16.0.0 to 172.31.255.255).

    • Authentication Certificate

      Azure uses certificates to authenticate clients connecting to a virtual network over a Point-to-Site VPN connection. The public key information of the root certificate is uploaded to Azure. The root certificate is then considered “trusted” by Azure for a Point-to-Site connection to the virtual network. Client certificates must be generated from the trusted root certificate and installed on the client server. The client certificate is used to authenticate the client when it initiates a connection to the virtual network.

      To learn more, see the “Configure authentication type” section of Configure a Point-to-Site VPN connection to a VNet using native Azure certificate authentication: Azure portal.

Note

Network appliances, such as VPN Gateway and Application Gateway that run inside a virtual network, come with additional cost. To learn more, see Virtual Network pricing.

If there is no existing Azure Virtual Network gateway, Windows Admin Center creates one for you. The setup process can take up to 25 minutes. After the Azure Network Adapter is created, you can start to access VMs in the virtual network directly from your server.

If you don’t need the connectivity anymore, under Networks, select the Azure Network Adapter that you want to disconnect, from the top menu, select Disconnect, and then on the Disconnect VPN Confirmation pop-up window, select Yes.

Next steps

For more information about Azure Virtual Network, see also: