NSGs
NSGs, or Network Security Groups, are a type of virtual firewall used in cloud networking to control access to resources within a virtual network. They are most commonly associated with Microsoft Azure, where an NSG provides a centralized set of rules to filter both inbound and outbound traffic for virtual machines, load balancers, and other resources. NSGs are designed to be stateful, meaning that if traffic is allowed in one direction, the response traffic is automatically permitted back.
An NSG contains security rules that specify how traffic should be handled. Each rule defines a direction
Azure NSGs include default rules that cover common scenarios, such as basic intra-VNet traffic and a catch-all