Skip to main content
Jorge Bernhardt Jorge Bernhardt

Get-AzVirtualNetworkGateway

2020

How to implement the Azure Forced Tunneling via S2S VPN
·557 words·3 mins· 100 views · 5 likes
add-azrouteconfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Hi, As you know, by default, resources deployed to an Azure virtual network that need access to the Internet will use the system-defined default routes to use the Azure backbone. Forced tunneling allows you to redirect all Internet-bound traffic to your on-premise location through a site-to-site VPN tunnel, thus allowing you to manage, inspect, and audit outgoing traffic on your Azure network.
How to deploy a VPN S2S in an existing VNet
·803 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Some time ago, I wrote a post showing how to deploy an Azure VPN S2S (site-to-site) from scratch. But this time, I will use the new PowerShell Az module and show you how to deploy it in an existing Azure virtual network.