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: CHANGELOG.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,16 @@
1
1
# Change log for AzureSite2SiteVPNLab
2
2
3
+
## 1.4.1 - February 18, 2022
4
+
5
+
- Fixed VnetSpoke subnet address on 3B-1 and 2 scripts; was calling an array not a single subnet. Future developments will support multiple subnets
6
+
- Fixed resource checks for peering and public IP; set silently continue for non existing resources error
7
+
- Added ISE check; PowerShell ISE has issues with prompting for password during VyOS setup. Recommend running in PowerShell or VSCode. Thanks Ankit Oberoi
8
+
- Fixed AddressPrefix for LNG; Converted addresses into an array.
9
+
- Verbose output during Az module check; provides clarity of what script is doing.
10
+
3
11
## 1.4.0 - January 17, 2022
4
12
5
-
- Fixed vyos setup script output; was out putting blank file in step 2
13
+
- Fixed VyOS setup script output; was out putting blank file in step 2
6
14
- Added synopsis to each script; provide steps taken and parameters
7
15
- Add OStype parameter to simple Azure VM script; allow Windows 10 or Windows Server deployment
8
16
- Added domain join capability for VM; domain controller must exist
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,10 @@ _BETA_: **Step 4A-2. Build Hyper-V VM.ps1** <-- Sets up a VM in Hyper-V (not una
159
159
- Some ISP's may not allow VPN traffic; no know work around for this
160
160
- These scripts have not been tested with Azure Gov or other Azure community clouds
161
161
- After Site 2 Site VPN is created; step that check for connectivity may show _unknown) or _not connected_; this may be due to Azure's graph api call not updating immediately. Recommend manual check
162
+
- Go to Azure Portal --> Local Network Gateways --> Click on new gateway --> Connections
162
163
- VyOS router will remove it trusted ssh host list on each reboot. This is by design and will require login for each script implementation; looking for alternate method to resolve this
164
+
- There are known issues with the PowerShell ISE interface during VyOS configurations; Recommend running with Powershell console or VScode.
165
+
163
166
## References
164
167
165
168
-[Create a VPN Gateway and add a Site-to-Site connection using PowerShell](https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-create-site-to-site-rm-powershell)
Write-Host ("Creating peering between vnets [{0}] and [{1}]..."-f$AzureAdvConfigSiteA.VnetPeerNameAB,$AzureAdvConfigSiteA.VnetPeerNameBA) -ForegroundColor White -NoNewline
Write-Host ("Creating peering between vnets [{0}] and [{1}]..."-f$AzureAdvConfigSiteB.VnetPeerNameAB,$AzureAdvConfigSiteB.VnetPeerNameBA) -ForegroundColor White -NoNewline
Write-Host"Checking for Az Powershell module..."-ForegroundColor White -NoNewline
258
261
If((Find-Module Az).Version -in (Get-InstalledModule Az -AllVersions).version){
259
-
Write-Verbose"Az Module Loaded"
262
+
Write-Host ("Az Module [{0}] installed"-f (Get-InstalledModule Az -AllVersions).version) -ForegroundColor Green
260
263
}
261
264
Else{
265
+
Write-Host"Updating module, this can take awhile..."-ForegroundColor Yellow -NoNewline
262
266
Install-Module-Name Az -AllowClobber -Scope AllUsers -Force
267
+
Write-Host"Done"-ForegroundColor Green
263
268
}
264
269
265
270
Try{
@@ -289,6 +294,20 @@ If(!$NoAzureCheck){
289
294
}
290
295
}
291
296
#endregion
297
+
298
+
If(Test-IsISE){
299
+
If($IgnoreISECheck-eq$False){
300
+
Write-Host"==============================="-ForegroundColor Black -BackgroundColor Yellow
301
+
Write-Host" CONTINUE AT OWN RISK "-ForegroundColor Black -BackgroundColor Yellow
302
+
Write-Host"==============================="-ForegroundColor Black -BackgroundColor Yellow
303
+
Write-Host"You are currently running this script using PowerShell ISE.`nThere are known issues with the interface during vyos configurations"-ForegroundColor Yellow
304
+
$ISEResponse=Read-host"Would you like to continue? [Y or N]"
305
+
If ($ISEResponse-eq'N'){
306
+
Break
307
+
}
308
+
}
309
+
}
310
+
292
311
#============================================
293
312
# HYPER-V CHECK
294
313
#============================================
@@ -369,7 +388,7 @@ If(!$NoVyosISOCheck){
369
388
Write-Host"Done"-ForegroundColor Green
370
389
}
371
390
Catch{
372
-
Write-host ('UNable to download [{0}]: {1}'-f$vyosfilename,$_.Exception.message) -ForegroundColor Black -BackgroundColor Red
391
+
Write-host ('Unable to download [{0}]: {1}'-f$vyosfilename,$_.Exception.message) -ForegroundColor Black -BackgroundColor Red
0 commit comments