Skip to content

Commit 6d7ed1e

Browse files
committed
update
1 parent 16f639f commit 6d7ed1e

File tree

1 file changed

+9
-24
lines changed

1 file changed

+9
-24
lines changed

articles/vpn-gateway/vpn-gateway-howto-point-to-site-rm-ps.md

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ ms.author: cherylmc
1010
ms.custom: devx-track-azurepowershell
1111

1212
---
13-
# Configure server settings for P2S - certificate authentication - Azure PowerShell
13+
# Configure server settings for P2S VPN certificate authentication - PowerShell
1414

15-
This article helps you configure a point-to-site (P2S) VPN to securely connect individual clients running Windows, Linux, or macOS to an Azure virtual network (VNet). P2S VPN connections are useful when you want to connect to your VNet from a remote location, such when you're telecommuting from home or a conference. You can also use P2S instead of a Site-to-Site VPN when you have only a few clients that need to connect to a VNet. P2S connections don't require a VPN device or a public-facing IP address. P2S creates the VPN connection over either SSTP (Secure Socket Tunneling Protocol), or IKEv2.
15+
This article helps you configure a point-to-site (P2S) VPN to securely connect individual clients running Windows, Linux, or macOS to an Azure virtual network (VNet). P2S VPN connections are useful when you want to connect to your VNet from a remote location, such when you're telecommuting from home or a conference.
16+
17+
You can also use P2S instead of a Site-to-Site VPN when you have only a few clients that need to connect to a VNet. P2S connections don't require a VPN device or a public-facing IP address. P2S creates the VPN connection over either SSTP (Secure Socket Tunneling Protocol), or IKEv2.
1618

1719
:::image type="content" source="./media/vpn-gateway-howto-point-to-site-rm-ps/point-to-site-diagram.png" alt-text="Diagram of a point-to-site connection.":::
1820

19-
For more information about P2S VPN, see [About P2S VPN](P2S-about.md). To create this configuration using the Azure portal, see [Configure a point-to-site VPN using the Azure portal](vpn-gateway-howto-point-to-site-resource-manager-portal.md).
21+
For more information about P2S VPN, see [About P2S VPN](point-to-site-about.md). To create this configuration using the Azure portal, see [Configure a point-to-site VPN using the Azure portal](vpn-gateway-howto-point-to-site-resource-manager-portal.md).
2022

2123
[!INCLUDE [P2S basic architecture](../../includes/vpn-gateway-p2s-architecture.md)]
2224

@@ -36,25 +38,6 @@ You can either use Azure Cloud Shell, or you can run PowerShell locally. For mor
3638

3739
[!INCLUDE [sign in](../../includes/vpn-gateway-cloud-shell-ps-login.md)]
3840

39-
## <a name="declare"></a>Declare variables
40-
41-
We use variables for this article so that you can easily change the values to apply to your own environment without having to change the examples themselves. Declare the variables that you want to use. You can use the following sample, substituting the values for your own when necessary. If you close your PowerShell/Cloud Shell session at any point during the exercise, just copy and paste the values again to redeclare the variables.
42-
43-
```azurepowershell-interactive
44-
$VNetName = "VNet1"
45-
$FESubName = "FrontEnd"
46-
$GWSubName = "GatewaySubnet"
47-
$VNetPrefix = "10.1.0.0/16"
48-
$FESubPrefix = "10.1.0.0/24"
49-
$GWSubPrefix = "10.1.255.0/27"
50-
$VPNClientAddressPool = "172.16.201.0/24"
51-
$RG = "TestRG1"
52-
$Location = "EastUS"
53-
$GWName = "VNet1GW"
54-
$GWIPName = "VNet1GWpip"
55-
$GWIPconfName = "gwipconf"
56-
```
57-
5841
## <a name="ConfigureVNet"></a>Create a VNet
5942

6043
1. Create a resource group using [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup).
@@ -95,7 +78,7 @@ $GWIPconfName = "gwipconf"
9578

9679
## <a name="creategateway"></a>Create the VPN gateway
9780

98-
## Request a public IP address
81+
### Request a public IP address
9982

10083
A VPN gateway must have a Public IP address. You first request the IP address resource, and then refer to it when creating your virtual network gateway. The IP address is statically assigned to the resource when the VPN gateway is created. The only time the Public IP address changes is when the gateway is deleted and re-created. It doesn't change across resizing, resetting, or other internal maintenance/upgrades of your VPN gateway.
10184

@@ -167,7 +150,9 @@ Set-AzVirtualNetworkGateway -VirtualNetworkGateway $Gateway -VpnClientAddressPoo
167150
168151
Certificates are used by Azure to authenticate VPN clients for P2S VPNs. You upload the public key information of the root certificate to Azure. The public key is then considered 'trusted'. Client certificates must be generated from the trusted root certificate, and then installed on each client computer in the Certificates-Current User/Personal certificate store. The certificate is used to authenticate the client when it initiates a connection to the VNet.
169152

170-
If you use self-signed certificates, they must be created using specific parameters. You can create a self-signed certificate using the instructions for [PowerShell and Windows 10 or later](vpn-gateway-certificates-point-to-site.md), or, if you don't have Windows 10 or later, you can use [MakeCert](vpn-gateway-certificates-point-to-site-makecert.md). It's important that you follow the steps in the instructions when generating self-signed root certificates and client certificates. Otherwise, the certificates you generate won't be compatible with P2S connections and you receive a connection error.
153+
If you use self-signed certificates, they must be created using specific parameters. You can create a self-signed certificate using the instructions for [PowerShell](vpn-gateway-certificates-point-to-site.md) for Windows computers running Windows 10 or later. If you aren't running Windows 10 or later, use [MakeCert](vpn-gateway-certificates-point-to-site-makecert.md) instead.
154+
155+
It's important that you follow the steps in the instructions when generating self-signed root certificates and client certificates. Otherwise, the certificates you generate won't be compatible with P2S connections and you receive a connection error.
171156

172157
### <a name="cer"></a>Root certificate
173158

0 commit comments

Comments
 (0)