Articles → MICROSOFT AZURE → Priority Of Rules In NSG In AzurePriority Of Rules In NSG In AzureIn this article, we will discuss the priority of rules in NSG works.Creation Of A Virtual Machine First, create a virtual machine with port 80 enabled.Click to EnlargeOnce the virtual machine, install the IIS using the custom extension.Click to EnlargeNow, you can access the IIS home page using the web browser.Click to EnlargeAdding Deny Rule In The NSG Add a new rule of priority 290. So, if the user tries to access port 80 (i.e. accessing IIS home page using a browser) then the rule of the NSG will be scanned from top to bottom.Once a rule is matched, then the rest of the rules will be ignored. So, if the user tries to access port 80 then he will be denied because of rule with priority 290.Click to EnlargeNow, access the IIS home page, you will get the following error.Click to EnlargePosted By - Karan Gupta Posted On - Saturday, May 22, 2021 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
Query/Feedback