8.10.3. Adding a Rule to a Security Group

This procedure describes the procedure for adding a rule to the security group.

Procedure 8.10. Adding a Rule to a Security Group Using the Command Line Interface

  • You can configure security group rules directly by using neutron security-group-rule-create command to enable access to your VMs.
    # neutron security-group-rule-create --protocol PROTOCOL --direction DIRECTION --port_range_min MAX_PORT --port_range_max MIN_PORT SECURITY_GROUP_ID