virtual-private-cloud/umn/source/security/security_group/fast-adding_security_group_rules.rst
proposalbot 05dbe4edc7 Changes to vpc_umn from docs/doc-exports#555 (VPC UMN 20230106 version
For deta

Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-06-14 19:30:56 +00:00

11 KiB

original_name

SecurityGroup_0004.html

Fast-Adding Security Group Rules

Scenarios

You can add multiple security group rules with different protocols and ports at the same time.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select the desired region and project.

  3. Click image2 in the upper left corner and choose Network > Virtual Private Cloud.

  4. In the navigation pane on the left, choose Access Control > Security Groups.

  5. On the Security Groups page, locate the target security group and click Manage Rule in the Operation column to switch to the page for managing inbound and outbound rules.

  6. On the Inbound Rules tab, click Fast-Add Rule. In the displayed dialog box, select the protocols and ports you wish to add all at once.

    Figure 1 Fast-Add Inbound Rule
    Table 1 Inbound rule parameter description
    Parameter Description Example Value
    Protocols and Ports

    Common protocols and ports are provided for:

    • Remote login and ping
    • Web services
    • Databases
    SSH (22)
    Source

    Source of the security group rule. The value can be an IP address or a security group to allow access from IP addresses or instances in the security group. For example:

    • xxx.xxx.xxx.xxx/32 (IPv4 address)
    • xxx.xxx.xxx.0/24 (IPv4 address range)
    • 0.0.0.0/0 (all IPv4 addresses)
    • sg-abc (security group)

    If the source is a security group, this rule will apply to all instances associated with the selected security group.

    0.0.0.0/0
    Description

    (Optional) Supplementary information about the security group rule.

    The description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).

    -
  7. On the Outbound Rules tab, click Fast-Add Rule. In the displayed dialog box, select required protocols and ports to add multiple rules at a time.

    Figure 2 Fast-Add Outbound Rule
    Table 2 Outbound rule parameter description
    Parameter Description Example Value
    Protocols and Ports

    Common protocols and ports are provided for:

    • Remote login and ping
    • Web services
    • Databases
    SSH (22)
    Destination

    Destination of the security group rule. The value can be an IP address or a security group to allow access to IP addresses or instances in the security group. For example:

    • xxx.xxx.xxx.xxx/32 (IPv4 address)
    • xxx.xxx.xxx.0/24 (IPv4 address range)
    • 0.0.0.0/0 (all IPv4 addresses)
    • sg-abc (security group)
    0.0.0.0/0
    Description

    (Optional) Supplementary information about the security group rule.

    The description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).

    -
  8. Click OK.