NAT Gateway is a fully managed service that securely routes internet traffic from a private virtual network with enterprise-grade performance and low latency.
Welcome to Microsoft Q&A
Hello @Nickson I hope you are doing well.
Since VTAP works correctly until the NAT Gateway is associated with the subnet, the issue is likely related to how traffic is handled after SNAT is introduced.
A few things to check:
- Verify whether the traffic you expect VTAP to mirror is still traversing the VM NIC. NAT Gateway only provides outbound SNAT, but changes to the outbound path may affect what traffic is available for packet mirroring.
- Review the VTAP configuration to ensure it is attached to the correct NIC and that the filter configuration still matches the traffic after enabling NAT Gateway.
- Check for NSGs, UDRs, or Azure Firewall that could alter the traffic path when the NAT Gateway is enabled.
- Validate the NDR sensor to confirm it is not filtering or expecting pre-NAT traffic only.
Limitations:
- Virtual Network TAP supports only virtual machine (VM) network interfaces as traffic mirroring sources.
- Mirrored traffic can be sent only to a load balancer or a VM network interface.
- VMs behind a Basic Load Balancer cannot be configured as a mirroring source. Basic Load Balancer is being deprecated.
- Inbound traffic from Private Link Service is not supported for mirroring.
- VMs in a virtual network with encryption enabled cannot be configured as mirroring sources.
- Virtual Network TAP does not support IPv6 or SWIFT.
- Virtual WAN (vWAN) peering is not supported between the source and destination virtual networks used with VTAP. Direct virtual network peering must be used instead.
Public Preview limitations
- v6 VM SKUs are not supported as source VMs.
- Before adding a VM as a source, you must first deploy a Virtual Network TAP resource, and then stop (deallocate) and start the source VM. This is required only once per VM that will be used as a source. If this step is not completed, you may receive an error indicating that the NIC is not on fastpath.
- When a VM is added or removed as a source, the VM may experience network downtime of up to 60 seconds.
- Live Migration is not supported for source VMs. Live Migration will be disabled for any VM configured as a source.
Supported Regions
- Asia East
- Southeast Asia
- Canada Central
- West Europe
- Germany West Central
- Central India
- Korea Central
- UAE North
- UK South
- Central US
- Central US EUAP
- East US
- East US 2
- East US 2 EUAP
- West US 3
Public Preview limitations
- v6 VM SKUs are not supported as source VMs.
- Before adding a VM as a source, you must first deploy a Virtual Network TAP resource, and then stop (deallocate) and start the source VM. This is required only once per VM that will be used as a source. If this step is not completed, you may receive an error indicating that the NIC is not on fastpath.
- When a VM is added or removed as a source, the VM may experience network downtime of up to 60 seconds.
- Live Migration is not supported for source VMs. Live Migration will be disabled for any VM configured as a source.
- When a VM is added or removed as a source, the VM may experience network downtime of up to 60 seconds.
- Before adding a VM as a source, you must first deploy a Virtual Network TAP resource, and then stop (deallocate) and start the source VM. This is required only once per VM that will be used as a source. If this step is not completed, you may receive an error indicating that the NIC is not on fastpath.
Supported Regions
- Asia East
- Southeast Asia
- Canada Central
- West Europe
- Germany West Central
- Central India
- Korea Central
- UAE North
- UK South
- Central US
- Central US EUAP
- East US
- East US 2
- East US 2 EUAP
- West US 3
- v6 VM SKUs are not supported as source VMs.
References
- Azure Virtual Network TAP (VTAP): https://learn.microsoft.com/azure/virtual-network/virtual-network-tap-overview
- NAT Gateway overview: https://learn.microsoft.com/azure/nat-gateway/nat-overview
- NAT Gateway FAQ: https://learn.microsoft.com/azure/nat-gateway/faq
If my answer helped you, please consider marking it as accepted. This helps others in the community find similar solutions.