Understanding Network Security Groups - NSG | Scribe

    Understanding Network Security Groups - NSG

    • Hafeez Baig |
    • 8 steps |
    • 42 seconds
    1

    Sign in into the **Microsoft Azure Portal**

    2

    Create a new virtual machine named "**vn-vm**" and be sure to select the checkbox for the HTTP inbound port\ \ Refer to this guide to learn how to create a Virtual Machine in Azure\ <https://scribehow.com/shared/Creating_your_first_Virtual_Machine_in_Azure__m7sJfxD7SKOuonRH8SNW2A>

    3

    To view the NSG for the created VM, type **Network security groups** in the search bar and click on the **Network security groups**

    information ordinal icon

    **What is Network security groups?**\ \ Network Security Groups (NSGs) in Azure are firewall rulesets that control inbound and outbound traffic to and from Azure resources. They enhance security by allowing or denying network traffic based on source, destination, port, and protocol.

    4

    On the **Network security groups** wizard, here you can see the VM has created an NSG click on the Name **vn-vm-nsg**

    5

    **vn-vm-nsg** wizard will open, here you can view all the details and configurations for the NSG

    6

    Scroll to the **Inbound Security Rules** section, here you can see the **SSH** rule for the Inbound Security **Note:** This Inbound Security rule is set to default for all the Virtual Machines

    information ordinal icon

    **What are Inbound Security Rules?**\ \ Inbound Security Group Rules in Azure NSGs control incoming traffic to resources, specifying which traffic is allowed or denied.

    7

    Below the **SSH rule** you can view the **HTTP** Inbound Security rule, this rule was set and created while creating the Virtual Machine

    information ordinal icon

    **What is HTTP 320 Security Rule?**\ \ HTTP 320 Security Rule in Azure NSGs likely refers to a custom rule with priority 320 for managing HTTP traffic. Rules with lower priority numbers are evaluated first, so this rule's priority number determines its order in the evaluation process.

    8

    Scroll to the **Outbound Security Rules** section, here you can view all the Outbound Security rules for the Virtual Machine

    information ordinal icon

    **What are Outbound Security Rules?**\ \ Outbound Security Group Rules control outgoing traffic from resources, determining which traffic is permitted or blocked. Each rule has a priority number, with lower numbers having higher priority. Rules are evaluated in order, and the first match determines the action.

    information ordinal icon

    Congratulations on completing this lab and Understanding Network Security Groups in Azure! Good Job!