To create a new NSG allow rule using the Azure portal, we must follow these steps:
- In the NSG blade, locate the Inbound security rules option under Settings.
- Click on the Add button at the top of the page and wait for the new blade to open:
- In the new blade, we need to provide information for Source (location and port), Destination (location and port), Protocol, Action, Priority, Name, and Description. If you want to allow traffic, make sure you select Allow for Action. An example of how to create a rule to allow traffic over the 443 port (allowing traffic to the web server) is shown in the following screenshot: