Modifying a Security Group Rule

Last updated: 2020-04-02 16:59:07

    Operation Scenario

    Improperly set security group rules (for example, those that do not restrict access to specified ports) can incur severe security risks. In this case, you can modify these security group rules in a security group to ensure the network security of CVM instances. This document describes how to modify security group rules.


    You have created a security group and added security group rules to the group.
    For information on how to create a security group and add security group rules, see Adding Security Group Rules.


    1. Log in to CVM Console.
    2. In the left sidebar, click Security Group to enter the security group management page.
    3. On the security group management page, choose Region, and locate the row of the security group whose rules are to be modified.
    4. In the operation column, click Modify Rules to enter the security group rule page.
    5. On the security group rule page, click the Inbound Rules or Outbound Rules tab based on the direction (inbound or outbound) of the security group rules to be modified.
    6. Locate the security group rule that you want to modify and click Edit in the operation column to modify it.