|
1 | 1 | ---
|
2 |
| -title: Introduction to NSG Diagnostics in Azure Network Watcher |
3 |
| -description: Learn about Network Security Group (NSG) Diagnostics tool in Azure Network Watcher |
| 2 | +title: NSG diagnostics |
| 3 | +titleSuffix: Azure Network Watcher |
| 4 | +description: Learn about NSG diagnostics tool in Azure Network Watcher. |
4 | 5 | services: network-watcher
|
5 | 6 | author: halkazwini
|
6 | 7 | ms.service: network-watcher
|
7 | 8 | ms.author: halkazwini
|
8 | 9 | ms.reviewer: shijaiswal
|
9 | 10 | ms.topic: conceptual
|
10 |
| -ms.workload: infrastructure-services |
11 |
| -ms.date: 01/20/2023 |
| 11 | +ms.date: 04/24/2023 |
12 | 12 | ms.custom: template-concept, engagement-fy23
|
13 | 13 | ---
|
14 | 14 |
|
15 |
| -# Introduction to NSG Diagnostics in Azure Network Watcher |
| 15 | +# Azure Network Watcher NSG diagnostics |
16 | 16 |
|
17 |
| -The Network Security Group (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. It can help you in understanding if your NSG rules are configured correctly. |
| 17 | +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. |
18 | 18 |
|
19 | 19 | > [!NOTE]
|
20 |
| -> To use NSG Diagnostics, Network Watcher must be enabled in your subscription. See [Create an Azure Network Watcher instance](./network-watcher-create.md) to enable. |
| 20 | +> To use NSG diagnostics, Network Watcher must be enabled in your subscription. For more information, see [Network Watcher is automatically enabled](./network-watcher-create.md#network-watcher-is-automatically-enabled). |
21 | 21 |
|
22 | 22 | ## Background
|
23 | 23 |
|
24 |
| -- Your resources in Azure are connected via [virtual networks (VNets)](../virtual-network/virtual-networks-overview.md) and subnets. The security of these VNets and subnets can be managed using [network security groups (NSGs)](../virtual-network/network-security-groups-overview.md). |
25 |
| -- An NSG contains a list of [security rules](../virtual-network/network-security-groups-overview.md#security-rules) that allow or deny network traffic to resources it's connected to. An NSG can be associated to a virtual network subnet or individual network interface (NIC) attached to a virtual machine (VM). |
26 |
| -- All traffic flows in your network are evaluated using the rules in the applicable NSG. |
| 24 | +- Your resources in Azure are connected via [virtual networks (VNets)](../virtual-network/virtual-networks-overview.md) and subnets. The security of these virtual networks and subnets can be managed using [network security groups](../virtual-network/network-security-groups-overview.md). |
| 25 | +- A network security group contains a list of [security rules](../virtual-network/network-security-groups-overview.md#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). |
| 26 | +- All traffic flows in your network are evaluated using the rules in the applicable network security group. |
27 | 27 | - Rules are evaluated based on priority number from lowest to highest.
|
28 | 28 |
|
29 |
| -## How does NSG Diagnostics work? |
| 29 | +## How does NSG diagnostics work? |
30 | 30 |
|
31 |
| -For a given flow, after you provide details like source and destination, the NSG Diagnostics tool runs a simulation of the flow and returns whether the flow would be allowed or denied with detailed information about the security rule allowing or denying the flow. |
| 31 | +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. |
32 | 32 |
|
33 | 33 | ## Next steps
|
34 | 34 |
|
35 |
| -Use NSG Diagnostics using [REST API](/rest/api/network-watcher/networkwatchers/getnetworkconfigurationdiagnostic), [PowerShell](/powershell/module/az.network/invoke-aznetworkwatchernetworkconfigurationdiagnostic), and [Azure CLI](/cli/azure/network/watcher#az-network-watcher-run-configuration-diagnostic). |
| 35 | +Run NSG diagnostics using [PowerShell](/powershell/module/az.network/invoke-aznetworkwatchernetworkconfigurationdiagnostic), [Azure CLI](/cli/azure/network/watcher#az-network-watcher-run-configuration-diagnostic), or [REST API](/rest/api/network-watcher/networkwatchers/getnetworkconfigurationdiagnostic). |
0 commit comments