Accessing resources in a secure way is important, and this must be performed securely. It's not always possible to perform this using a Site-2-Site connection, especially when we have to perform something out of work hours. In this case, we can use Point-2-Site to create a secure connection that can be established from anywhere.
Creating a Point-2-Site connection
Getting ready
To create a Point-2-Site connection, we'll need to generate a certificate that will be used for connection. To create a certificate, we must follow these steps:
- Execute the following PowerShell script to generate a certificate:
$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `
-Subject "CN=P2SRootCert" -KeyExportPolicy...