
$publicCertData = "" #Export cert as Base64, and put data into single line. # Must created a subnet called GatewaySubnet for the gateway to connect prior to creating the gateway As you might already have a gateway you might be able to skip some of the commands. You need to create a subnet with the name GatewaySubnet (must be called this) before you proceed. This is the best way forward as you can forget the classic network. I have tested and can ping a VM on the ARM network form my local machine. I have managed to work out the PowerShell for point to site to the ARM network. I checked the route table and the 10.0.0.0 routing is in there. The first line was already there, I added the second one and re-connected the VPN.ĪDD 10.0.10.0 MASK 255.255.254.0 default METRIC default IF defaultĪDD 10.0.0.0 MASK 255.255.254.0 default METRIC default IF default One article I found referenced the need for adding a line to the routes.txt for the VPN connection. I'm assigned 192.168.0.5.Īll VPN connections appear to be working, but I cannot see machines on VNet1 from here. I downloaded the VPN client on my machine here and connected to the VPN. The VNet2 Gateway also has point-to-site enabled. So I added a classic network and connected Unfortunately, only the classic platform supports point-to-site. The VM is on the newer Resource Manager platform. I'm new to Azure and trying to use VPN to connect a single machine here to a VM on Azure.
