ip Protocol
Parameters
value
The IP protocol name (`tcp`
, `udp`
, `icmp`
, `icmpv6`
) or number (see Protocol Numbers). Use `-1`
to specify all protocols. When authorizing security group rules, specifying `-1`
or a protocol number other than `tcp`
, `udp`
, `icmp`
, or `icmpv6`
allows traffic on all ports, regardless of any port range you specify. For `tcp`
, `udp`
, and `icmp`
, you must specify a port range. For `icmpv6`
, the port range is optional; if you omit the port range, traffic for all types and codes is allowed.