NSG diagnostics overview
The NSG diagnostics is an Azure Network Watcher tool that helps you understand which network traffic is allowed or denied in your Azure virtual network along with detailed information for debugging. NSG diagnostics can help you verify that your network security group rules are set up properly.
- Your resources in Azure are connected via virtual networks and subnets. The security of these virtual networks and subnets can be managed using network security groups.
- A network security group contains a list of security rules that allow or deny network traffic to resources it's connected to. A network security group can be associated to a virtual network subnet or individual network interface (NIC) attached to a virtual machine (VM).
- All traffic flows in your network are evaluated using the rules in the applicable network security group.
- Rules are evaluated based on priority number from lowest to highest.
How does NSG diagnostics work?
The NSG diagnostics tool can simulate a given flow based on the source and destination you provide. It returns whether the flow is allowed or denied with detailed information about the security rule allowing or denying the flow.
To learn how to use the NSG diagnostics tool to check if your network traffic is allowed or denied, see Diagnose network security rules.