File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function Add-AzsVpnConnection {
3737 $connection = Add-VpnConnection - Name $ConnectionName - ServerAddress $ServerAddress - TunnelType L2tp - EncryptionLevel Required - AuthenticationMethod MSChapv2 - L2tpPsk $PlainPassword - Force - RememberCredential - PassThru - SplitTunneling
3838
3939 Write-Verbose " Adding routes to Azure Stack VPN connection named $ConnectionName " - Verbose
40- Add-VpnConnectionRoute - ConnectionName $ConnectionName - DestinationPrefix 192.168 .102.0 / 27 - RouteMetric 2 - PassThru | Out-Null
40+ Add-VpnConnectionRoute - ConnectionName $ConnectionName - DestinationPrefix 192.168 .102.0 / 24 - RouteMetric 2 - PassThru | Out-Null
4141 Add-VpnConnectionRoute - ConnectionName $ConnectionName - DestinationPrefix 192.168 .105.0 / 27 - RouteMetric 2 - PassThru | Out-Null
4242
4343 return $connection
You can’t perform that action at this time.
0 commit comments