Does Azure VPN allow to route all traffic now?

Jaime Stuardo 66 Reputation points
2021-08-27T20:37:06.453+00:00

Hello,

I have created a VPN in Azure so that I will keep my IP private and can connect to web sites in USA that do not allow connections from other countries.

I ran "route print" command and I saw that traffics to virtual machines in Azure will be routed through the VPN interface.

I have read a post of 2017 and I have read that was not possible (at that time) to route all traffic. I am wondering if, considering all the time passed, Azure VPN can route all traffic now.

Thanks
Jaime

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,420 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 48,436 Reputation points Microsoft Employee
    2021-09-01T13:14:06.493+00:00

    Hello anonymous usertuardo-5606 ,

    Apologies for the delay in response.

    You can direct all traffic to the VPN tunnel by advertising 0.0.0.0/1 and 128.0.0.0/1 as custom routes to the VPN clients.
    Reference : https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-p2s-advertise-custom-routes#forced-tunneling
    Custom routes are supported and that forces all traffic from the client to Azure. However, I want to emphasize that the VPN client will loose all connectivity to the Internet (even through the local internet breakout as all traffic will be forced to Azure).

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" below if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful