How to redirect traffic from one subnet to one of the security compliance VM ( firewall)

sns 7,281 Reputation points
2023-01-20T11:41:29.76+00:00

How to redirect traffic from one subnet to one of the security compliance VM ( firewall), Could you please suggest on how to achieve this , thank you

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
1,175 questions
No comments
{count} votes

Accepted answer
  1. Andrei Barbu 931 Reputation points Microsoft Employee
    2023-01-20T11:52:51.4066667+00:00

    Hello sna!

    To redirect the traffic from an Azure Subnet to a security compliance VM (firewall), you would need to have an Azure Route Table attached to that subnet. Then, in the route table, you would need to add (a) route(s) type VirtualAppliance to the IP of your security compliance VM (firewall). If you want to send all the traffic to the security compliance VM (firewall), you can use 0.0.0.0/0.

    For example, below, where 10.224.1.2 we can assume is the IP address of the security compliance VM (firewall)
    User's image

    More details can be found here.

    Before doing the above, make sure that the security compliance VM (firewall) is accessible from the subnet (for example it is in the same VNET or in a peered VNET).

    I hope this is helpful.

    Please "Accept as Answer" and Upvote if it helped, so that it can help others in the community looking for help on similar topics.

    Thank you!

    No comments

0 additional answers

Sort by: Most helpful