In one of my previous article, I explain how we can create site-to-site VPN connection between local network and azure virtual network. This VPN connection is initiated in your edge firewall or router level. But what if you connecting from remote location such as home? we can use point-to-site method to do that. In this method it will use certificates to do the authentication between end point and azure virtual network.
So, let’s go ahead and see how we can do that,
Create Resource Group
In this exercise, I like to use separate resource group for virtual network and other components.
1. Log in to Azure portal as global administrator
2. Launch Cloud Shell
3. Then run New-AzureRmResourceGroup -Name REBELVPNRG -Location "East US". In here REBELVPNRG is RG group name and East US is the location.
Create Virtual Network
Now we need to create new virtual network. We can create virtual network using,
New-AzureRmVirtualNetwork -ResourceGroupName REBELVPNRG -Name REBEL-VNET -AddressPrefix 192.168.0.0/16 -Location "East US"
In above, REBEL-VNET is the virtual network name. it uses 192.168.0.0/16 IP address range.