Connect Local Computer to Azure Network VM Using RDP over Point to Site VPN - Hands On Demo!

Опубликовано: 16 Июль 2026
на канале: Coopman Greg
14,557
173

In this video I go into the details of setting up an Azure Point to Site connection and creating and using an Azure VPN to make a connection between my Local Win 10 home computer and an Azure Virtual Network.

(   / greg-c-coopman-b07b54103   )

00:00 Introduction
1. 1:12 Azure Portal: Create Resource Group
2. 02:01 Azure Portal: Create Virtual Network
3. 03:19 Azure Portal: Create Virtual Network Gateway
4. 05:02 Azure Portal: Create Virtual Machine (VM)
5. 08:38 Client Computer: Create Certificates for VPN
6. 13:24 Azure Portal: Configure Point-to-Site for Gateway
7. 15:34 Azure Portal: Download and Run VPN Client
8. 18:52 Client Computer: Connect to VPN
9. 21:00 Client Computer: Run Remote Desktop

Below, as mentioned, is the Powershell code to create the certificates need for you VPN demonstrated in the video:

#Set-ExecutionPolicy Unrestricted

$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `
-Subject "CN=VPNRootCert" -KeyExportPolicy Exportable `
-HashAlgorithm sha256 -KeyLength 2048 `
-CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign

New-SelfSignedCertificate -Type Custom -DnsName VPNRootCert -KeySpec Signature `
-Subject "CN=VPNChildCert" -KeyExportPolicy Exportable `
-HashAlgorithm sha256 -KeyLength 2048 `
-CertStoreLocation "Cert:\CurrentUser\My" `
-Signer $cert -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.2")