Step2. Set up a Security Group

A security group acts as a virtual firewall to control the traffic for its associated Virtual Machines (VMs). You can filter network traffic to and from the YMP VMs and SBC VM in a network security group.

Create a security group

  1. Sign in to the Azure portal.
  2. In the top-left corner of the portal, select + Create a resource > Networking > network security group.
  3. In create network security group, enter the following information:

    Setting Description Example
    Name Enter a name for the network security group. Enter Yeastar-Security-Group
    Subscription Select a subscription. -
    Resource group Select the same resource group as the virtual network. Select Yeastar-Resource
    Location Select the same location as the virtual network. Select West US
  4. Click Create.

Add security rules

Add an inbound security rule to allow all inbound network traffic, and add an outbound security rule to allow all outbound network traffic.
  1. In the left navigation, click Network security groups.
  2. On the Network security groups page, click the security group that you created.
  3. Add an inbound security rule.
    1. In the security group, select Inbound security rules > Add.

    2. On the Add inbound security rule page, configure the following information:

      Setting Value
      Source Select Any
      Source port range Enter *
      Destination Select Any
      Destination port range Enter *
      Name Enter a name for the rule. For example, AllowAllInbound.
    3. Leave the rest of the defaults and click Add.
  4. Add an outbound security rule.
    1. In the security group, select Outbound security rules > Add.

    2. On the Add outbound security rule page, configure the following information:

      Setting Value
      Source Select Any
      Source port range Enter *
      Destination Select Any
      Destination port range Enter *
      Name Enter a name for the rule. For example, AllowAllOutbound.
    3. Leave the rest of the defaults and click Add.