When you recreate your connection, use the connection type that is specified for your configuration. In this example, we configure an IPsec connection type. Set-AzureRmLocalNetworkGateway -LocalNetworkGateway $local ` Set the variable for the LocalNetworkGateway $local = Get-AzureRmLocalNetworkGateway -Name MyLocalNetworkGWName -ResourceGroupName MyRGName Modify the address prefixes for your local network gateway.Remove-AzureRmVirtualNetworkGatewaćonnection -Name MyGWConnectionName -ResourceGroupName MyRGName To modify local network gateway IP address prefixes - existing gateway connection When modifying IP address prefixes, you don't need to delete the VPN gateway. This results in some downtime for your VPN connection. If you have a gateway connection and want to add or remove the IP address prefixes contained in your local network gateway, you need to do the following steps, in order.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |