You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Network/Network/help/New-AzVirtualNetworkGateway.md
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ The above will create a resource group, request a Public IP Address, create a Vi
100
100
subnet and create a Virtual Network Gateway in Azure.
101
101
The gateway will be called "myNGW" within the resource group "vnet-gateway" in the location "UK West" with the previously created IP configurations saved in the variable "ngwIPConfig," the gateway type of "VPN," the vpn type "RouteBased," and the sku "Basic." It also adds an external radius server with address "TestRadiusServer". It will also set custom routes specified by customers on gateway.
102
102
103
-
### 1: Create a Virtual Network Gateway with P2S settings
103
+
### 3: Create a Virtual Network Gateway with P2S settings
@@ -120,10 +120,30 @@ subnet and create a Virtual Network Gateway with P2S settings e.g. VpnProtocol,V
120
120
The gateway will be called "myNGW" within the resource group "vnet-gateway" in the location "UK West" with the previously created IP configurations saved in the variable "ngwIPConfig," the gateway type of "VPN," the vpn type "RouteBased," and the sku "VpnGw1." Vpn settings will be set on Gateway such as VpnProtocol set as Ikev2, VpnClientAddressPool as "201.169.0.0/16", VpnClientRootCertificate set as passed one: clientRootCertName and custom vpn ipsec policy passed in object:$vpnclientipsecpolicy
121
121
It will also set custom routes specified by customers on gateway.
122
122
123
+
### 4: Create a Virtual Network Gateway with AAD authentication Configuration for VpnClient of virtual network gateway.
The above will create a resource group, request a Public IP Address, create a Virtual Network and
138
+
subnet and create a Virtual Network Gateway in Azure.
139
+
The gateway will be called "myNGW" within the resource group "vnet-gateway" in the location "UK West" with the previously created IP configurations saved in the variable "ngwIPConfig," the gateway type of "VPN," the vpn type "RouteBased," and the sku "Basic." It also configures AAD authentication configurations: AADTenant, AADIssuer and AADAudience for Vpnclient of virtual network gateway.
Copy file name to clipboardExpand all lines: src/Network/Network/help/Set-AzVirtualNetworkGateway.md
+83-3Lines changed: 83 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -151,10 +151,86 @@ BgpSettings : {
151
151
The first command gets a virtual network gateway named Gateway01 that belongs to resource group ResourceGroup001 and stores it to the variable named $Gateway
152
152
The second command updates the virtual network gateway Gateway01 with the tags @{ testtagKey="SomeTagKey"; testtagValue="SomeKeyValue" }.
153
153
154
+
### Example 4: Add/Update AAD authentication configuration for VpnClient of an existing virtual network gateway
The first command gets a virtual network gateway named Gateway01 that belongs to resource group ResourceGroup001 and stores it to the variable named $Gateway
225
+
The second command updates the virtual network gateway Gateway01 with the AAD authentication configurations params:aadTenant, aadAudience, aadIssuer for VpnClient.
226
+
The third command removes the AAD authentication configuration from VpnClient of virtual network gateway.
0 commit comments