# Modifying a Security Group Rule

#### Scenarios

You can modify the port, protocol, and IP address of a security group rule to meet your specific requirements.

#### Procedure

1. Log in to the management console.

2. Click in the upper left corner and select the desired region and project.
3. On the console homepage, under Network, click Virtual Private Cloud.
4. In the navigation pane on the left, choose Access Control > Security Groups.
5. On the Security Groups page, click the security group name.
6. On the displayed page, locate the row that contains the security group rule to be modified, and click Modify in the Operation column.
7. Modify the rule and click Confirm.

Parent topic: Security Group