You need to route all outbound internet traffic from a subnet named Subnet1 through an Azure Firewall deployed in the same virtual network. You create a new route table and associate it with Subnet1. You add a route for the destination . Which next hop type must you select to ensure the traffic is routed through the Azure Firewall?
- AVirtual network gateway
- Virtual applianceAnswer
- CVirtual network
- DInternet
Answer
Virtual appliance
To route subnet traffic through an Azure Firewall, you must create a route table, associate it with the subnet, and add a route for destination with the next hop type set to Virtual appliance. You must also specify the private IP address of the Azure Firewall as the next hop address.
Step-by-Step Solution
Key Concept
Azure Firewall routing with User-Defined Routes (UDR)