19.2.

流程

  1. $ openstack security group list
  2. $ openstack security group rule create --protocol <protocol> \
    [--dst-port <port-range>] \
    [--remote-ip <ip-address> | --remote-group <group>] \
    [--ingress | --egress] <group_name>
  3. $ openstack security group rule create --protocol tcp \
     --dst-port 22 mySecGroup