evroc networking securitygroup addrule
Add a new rule to a securitygroup
Synopsis
Section titled “Synopsis”Add a new rule to a securitygroup
evroc networking securitygroup addrule <securitygroup_id> [flags]Options
Section titled “Options” --direction string Direction of traffic the rule applies to (Ingress, Egress) --end-port int If specified, means that the rule applies to all ports from 'port' to 'end-port' -h, --help help for addrule --name string The name of the rule. Must be unique per security group. --port int Port the rule applies to (empty or '0' indicates all ports) --protocol string Protocol the rule applies to (All, TCP, UDP, ICMP) --remote-ip-or-cidr string IP address or block that traffic is allowed to/from. Should not be specified with 'security-group', 'subnet' or 'vpc'. --security-group string Name of the security group that traffic is allowed to/from. Should not be specified with 'remote-ip-or-cidr', 'subnet' or 'vpc'. --subnet string Name of the subnet that traffic is allowed to/from. Should not be specified with 'remote-ip-or-cidr', 'security-group' or 'vpc'. --vpc string Name or full reference ID of the VPC that traffic is allowed to/from. Must match the security group's own VPC. The full reference ID form (starting with '/') is required when the security group references a VPC in another project. Should not be specified with 'remote-ip-or-cidr', 'security-group' or 'subnet'.Options inherited from parent commands
Section titled “Options inherited from parent commands” --config string Path to the evroc config file (default "~/.evroc/config.yaml")See also
Section titled “See also”- evroc networking securitygroup - Security group management commands