A community member has associated this post with a similar question:
How to route all internet bound traffic originating from a VM flow through a NVA

Only moderators can edit this content.

How to route all internet bound traffic via a Network Virtual Appliance

Abhi 0 Reputation points
2024-05-03T16:22:28.3866667+00:00

I have 2 subnets inside a VNet, default subnet & NVA subnet. I have one VM(windows server 2022 data center) inside NVA subnet configured as a NVA with ip forwarding enabled at NIC level and in OS level I have enabled LAN routing. This NVA machine is having a public IP as well. In the default subnet I have one Windows VM.

Now I want to route all internet bound traffic originating from VMs inside default subnet flow through the NVA VM inside NVA subnet. I created one route table and created one custom user defined route with destination CIDR range as 0.0.0.0/0, next hop type as Virtual appliance and next hop address as NVA VM's private IP address and attached this route to default subnet. Still VMs inside default subnet are not able to connect to the internet. Please suggest.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,388 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 98,446 Reputation points MVP
    2024-05-03T17:40:13.3766667+00:00

    Hi @Abhi ,

    you asked the same question before. In the other thread there is already an answer:

    How to route all internet bound traffic originating from a VM flow through a NVA


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments