Associating an NSG with a subnet
When it comes to deploying resources on virtual networks within Azure, it is recommended to only allow the required traffic from a security point of view. One of the free solutions on the Azure platform to use for traffic filtering is called NSGs. NSG rules are evaluated by priority using the following five-tuple information:
- Source: This is where the traffic will be coming from, which can be set to the any option, an IP address or IP address range, a service tag, or an application security group.
- Destination: This will be the end destination receiving the traffic, which can be set to the any option, an IP address or IP address range, a service tag, or an application security group.
- Source port: This is the ports from where the traffic is originating, which can be a single port such as port
80
or multiple ports such as80
and443
. - Destination port: These are the ports that the traffic is destined for, which can be a single port such...