Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Create P2S VPN Connection on Azure

In this hands-on lab, you are working as an Azure network engineer for a Cha-Ching Credit Union, a local bank. You’ve been asked to create a point-to-site connection between an “on-premises” user virtual machine to a virtual network in Azure. You’ll use an Azure VPN gateway and a point-to-site VPN connection to connect the “on-premises” virtual machine to the server virtual network. --- **Please be aware that this lab can take 30-45 minutes to start due to the creation of the VPN gateway resource.**

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Jun 17, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Connect to the User VM and Generate a Self-Signed Certificate

    Complete steps 1 and 2 in the Microsoft documentation for creating a self-signed root certificate. Once you've generated the certificate, keep the PowerShell prompt open and immediately perform the steps in Example 1 in the Microsoft documentation for generating a client certificate.

  2. Challenge

    Export the Root Certificate Public Key

    Complete steps 1 through 9 in the Microsoft documentation for exporting the root certificate public key. Then, copy the public key to your clipboard to use in the next objective.

  3. Challenge

    On the VPN Gateway, Paste the Public Certificate Data

    Paste the public key into the Public certificate data box under the Point-to-site configuration settings for the VPN gateway. Note: If you receive an error when saving, ensure the name you added for the public certificate has no spaces in it.

  4. Challenge

    Download the VPN Client and Install It On the User VM

    Copy the VPN client zip file to the user virtual machine, extract it, and then install the VPN client from the WindowsAmd64 folder.

  5. Challenge

    Test Connectivity

    From the user virtual machine, connect to the VPN via Settings > Network & Internet > VPN. Once connected, ping the server virtual machine to test connectivity.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans