You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A Network Security Group (NSG) is a stateful firewall that filters inbound and outbound traffic to Azure resources. NSGs are one of the most important tools for securing your Azure networks. They contain a list of security rules that allow or deny traffic based on source, destination, port, and protocol.
An NSG is a collection of rules evaluated in priority order (lowest number = highest priority). When traffic matches a rule, that rule's action is applied and no further rules are checked.
NSGs are stateful: if you allow an inbound request, the response is automatically allowed without needing a separate outbound rule.
NSGs can be associated with:
Every NSG includes three immutable default inbound rules and three default outbound rules:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.