Azure WAN and P2S VPN Forced Tunneling

Ajeet Singh 71 Reputation points
2021-10-14T02:57:10.967+00:00

I have setup Azure WAN with a secured hub(Azure Firewall). WAN also has a P2S VPN which am successfully able to connect to. I understand forced tunneling was not an option before Azure VWAN, but now can i do forced tunneling for my P2S clients and give them a common public IP address instead of their own ISP Public IP Address?

Azure Virtual WAN
Azure Virtual WAN
An Azure virtual networking service that provides optimized and automated branch-to-branch connectivity.
186 questions
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,375 questions
Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
83 questions
0 comments No comments
{count} vote

Accepted answer
  1. GitaraniSharma-MSFT 47,011 Reputation points Microsoft Employee
    2021-10-14T16:40:27.6+00:00

    Hello @Ajeet Singh ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    Yes, you can do forced tunneling for your P2S clients.

    If you secure internet traffic via Firewall Manager you can advertise the 0.0.0.0/0 route to your VPN clients. This makes your clients send all internet bound traffic to Azure for inspection. Then, firewall SNATs the packet to the PIP of Azure Firewall for egress to Internet.

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

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

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

    2 people found this answer helpful.

6 additional answers

Sort by: Most helpful
  1. MostLourh 26 Reputation points
    2022-01-11T02:24:26.363+00:00

    Hi AjeetSingh

    I have the same need, what rule was added on Firewall policy?

    Thanks

    1 person found this answer helpful.

  2. Patrick Holohan 1 Reputation point
    2022-09-25T09:48:47.35+00:00

    Hi All,

    I'm not sure if you are still looking for the answer. I recently built an Azure virtual WAN with a secure virtual hub, I configured Azure point-to-site (Azure AD authentication) and wanted to route all traffic through the firewall.

    I found the answer to be as simple as changing the version number in the downloaded azurevpnconfig.xml from 1 to 2.

    https://learn.microsoft.com/en-us/azure/virtual-wan/how-to-forced-tunnel

    This worked for me.

    Regards

    0 comments No comments

  3. Victor Tan 1 Reputation point
    2022-12-02T00:20:22.563+00:00

    I am trying to do the same. I have created a virtual wan, create a virtual hub, and attached my p2s VPN to it. the virtual hub is secured by an azure firewall. I have added 0.0.0.0/0 to the default route and the next hop is the firewall.

    also, update the VPN using Update-AzP2sVpnGateway

    I have also updated the version from 1 to 2

    but none of this forced internet traffic from my local machine to use the VPN connection.

    Any ideas to troubleshoot?

    thanks


  4. Victor Tan 1 Reputation point
    2022-12-02T17:49:45.873+00:00

    I do have this enabled for secured traffic. What policy do you have on your firewall?

    266668-image.png