To add rules, follow the below steps:
On the navigation pane, click Project > Compute > Access & Security.
The default Security Group defined by the system is displayed. Click Create Security Group to define a security group.
Provide a name and description for the Security Group. Click Create Security Group.
Under Actions column, click Manage Rules for the newly created security group.
Click Add Rule to define the rules for security group (ems-sg).
In the Manage Security Group Rules window, define the following Ingress rules:
The Egress rules are by default defined when the security group is created.
Direction | Ether type | IP Protocol | Port Range | Remote |
---|---|---|---|---|
Ingress | IPv4 | ICMP | - | 0.0.0.0/0 (CIDR) |
Ingress | IPv4 | TCP | 1-65536 | 0.0.0.0/0 (CIDR) |
Ingress | IPv4 | UDP | 1-65536 | 0.0.0.0/0 (CIDR) |
Select All ICMP from Rule drop-down menu.
Select Ingress from Direction drop-down menu.
Select CIDR from Remote drop-down menu.
Specify 0.0.0.0/0 as CIDR.
Click Add.
Select All TCP from Rule drop-down menu.
Select Ingress from Direction drop-down menu.
Select CIDR from Remote drop-down menu.
Specify 0.0.0.0/0 as CIDR.
Click Add.
Select All UDP from Rule drop-down menu.
Select Ingress from Direction drop-down menu.
Select CIDR from Remote drop-down menu.
Specify 0.0.0.0/0 as CIDR.
The following screen displays the security rules added for the newly defined security group: