Articles → MICROSOFT AZURE → Network security group at the subnet level in Azure

Network security group at the subnet level in Azure






Purpose




 NSG at subnet levelNSG at networkImpact
Traffic through port 80DeniedNot applicableTraffic is denied at subnet level
Traffic through port 80AllowedDeniedNo traffic from port 80
Traffic through port 80AllowedAllowedTraffic is allowed from port 80





Creation of the virtual machine




Picture showing the virtual machine in the Azure portal

Click to Enlarge


Creating a Network Security Group




Picture showing the network security groups in the Azure portal

Click to Enlarge



Picture showing the Add button for adding the new network security group

Click to Enlarge







Picture showing the Create new network security group screen for creating the network security group

Click to Enlarge


Add NSG at the subnet level




Picture showing the Associate button for associating network security group at the subnet level

Click to Enlarge



Picture Showing the Associate subnet screen for associating subnet with the network security group

Click to Enlarge


Check the NSG rules in the virtual machine




Picture Showing the network security group rules at the subnet and network interface levels

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 21, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250