Adding inbound and outbound rules

Adding inbound and outbound security rules to the VM NIC is a very simple process; all you need to do is follow these steps:

  1. Navigate to the desired VM.
  2. Scroll down to Networking, under SETTINGS, as shown in the following screenshot:
Figure 3.11: VM networking settings
  1. To add inbound and outbound security rules, you have to click on either Add inbound or Add outbound.
  2. Once clicked on, a new blade will pop up where you have to specify settings using the following fields:
    • Service: The service specifies the destination protocol and port range for this rule. Here, you can choose a predefined service, such as RDP or SSH, or provide a custom port range.
    • Port ranges: Here, you need to specify a single port, a port range, or a comma-separated list of single ports or port ranges.
    • Priority: Here, you enter the desired priority value. As mentioned in the Securing Azure Virtual Networks section of Chapter 2Delving into Azure Virtual Networks, the lower the number, the higher the priority.
    • Name: Specify a name for the rule here.
    • Description: Write a description for the rule that relates to it here.
Figure 3.12: Adding an inbound rule
  1. Once you have clicked OK, the rule will be applied. Note that the same process applies when adding an outbound rule.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset