Skip to content

Commit 1cda83d

Browse files
authored
Update README.md
1 parent be6dd07 commit 1cda83d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Connect/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,29 @@ This will ensure that SSL sites of the target Azure Stack installation are trust
1919
Use the admin password provided at the time of the Azure Stack deployment.
2020

2121
```powershell
22-
$Password = ConvertTo-SecureString "<Admin password provided when deploying Azure Stack>" -AsPlainText -Force
22+
$Password = ConvertTo-SecureString -AsPlainText -Force "<Admin password provided when deploying Azure Stack>"
2323
```
2424

2525
To connect to Azure Stack One Node via VPN, first locate the NAT address of the target installation.
2626
If you specified static IP of the NAT when deploying Azure Stack One Node, then use it in the connection example below.
2727
If you did not specify static IP then NAT was configured with DHCP. In that case, obtain NAT IP as follows using IP address of the Azure Stack One Node host (which should be known to you after deployment).
2828

29+
```powershell
30+
$hostIp = "<Azure Stack host address>"
31+
```
32+
2933
Since the command below needs to access the Azure Stack One Node host computer and Azure Stack CA, they need to be trusted hosts in PowerShell. Run PowerShell as administrator and modify TrustedHosts as follows.
3034

3135
```powershell
3236
# Add Azure Stack One Node host to the trusted hosts on your client computer
33-
Set-Item wsman:\localhost\Client\TrustedHosts -Value "<Azure Stack host address>" -Concatenate
37+
Set-Item wsman:\localhost\Client\TrustedHosts -Value $hostIp -Concatenate
3438
Set-Item wsman:\localhost\Client\TrustedHosts -Value mas-ca01.azurestack.local -Concatenate
3539
```
3640

3741
Then obtain NAT IP.
3842

3943
```powershell
40-
$natIp = Get-AzureStackNatServerAddress -HostComputer "<Azure Stack host address>" -Password $Password
44+
$natIp = Get-AzureStackNatServerAddress -HostComputer $hostIp -Password $Password
4145
```
4246

4347
Then connect your client computer as follows.

0 commit comments

Comments
 (0)