- Alwin John
- April 22, 2021
How to Create & Add rules on Network Security Group in Microsoft Azure.
- Login to Azure portal.
- Click on All Services.
- Select Network Security Groups.
- Click on Create.
- 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.
- On Tags Tab provide the tag name and value for Network Security Group.
- Click Next on Review + Create.
- If you get a message “Validation passed”.
- Then click on Create.
- 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.
- Click on Inbound Security rules.
- Click on Add.
- 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.
- Click on Outbound security rules.
- Click on Add.
- 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.