How to Create & Add rules on Network Security Group in Microsoft Azure.

  • Login to Azure portal.
  • Click on All Services.
  • Select Network Security Groups.

 

Fig. 1

 

  • Click on Create.

Fig. 2

 

  • On Basics Tab provide the following values:-

 

  • Subscription: An Azure subscription grants you access to Azure services.
  • Resource group name: A resource group is a collection of resources.
  • Name: Enter the Network Security group name.
  • Select Region.
  • Then click on Tags.

 

Fig. 3

 

  • On Tags Tab provide the tag name and value for Network Security Group.
  • Click Next on Review + Create.

 

Fig. 4

 

  • If you get a message “Validation passed”.
  • Then click on Create.

Fig. 5

 

  • After some time, you will see a message as “Your deployment is ready”.
  • Click on “Go to resources” & You can see that the Network Security Group is there with the name we provide.

Add Rules on Network Security Group.

  • Click on new Network Security group name.

 

Fig. 5

 

  • Click on Inbound Security rules.

Fig. 6

 

  • Click on Add.

Fig. 6

 

  • On  Add inbound security rule provide following values:-
  • Source: source filter can be Any, an IP address range, an Application security group, or a default tag.
  • Source port range: Enter the port Number.
  • Destination: destination filter can be Any, an IP address range, an application security group, or a default tag.
  • Select Service like RDP,SSH,HTTP & MySQL etc.
  • Destination port ranges: Enter the Port Number.
  • Select Protocol.
  • Set Priority.
  • Name: Enter the name.
  • Click on Add.

Fig. 7Fig. 8

 

  • Click on Outbound security rules.

Fig. 9

 

  • Click on Add.

 

Fig. 10

 

  • On Add outbound security rule the following values:-
  • Source: source filter can be Any, an IP address range, an Application security group, or a default tag.
  • Source port range: Enter the port Number.
  • Destination: destination filter can be Any, an IP address range, an application security group, or a default tag.
  • Select Service like RDP,SSH,HTTP & MySQL etc.
  • Destination port ranges: Enter the Port Number.
  • Select Protocol.
  • Set Priority.
  • Name: Provide the name.
  • Click on Add.

 

Fig. 11Fig. 12

 

Leave a Reply