icmp Code
Parameters
value
ICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1
NOTE: If the value of
protocolis-1orall, thefrom_portandto_portvalues will be ignored and the rule will apply to all ports. NOTE: If the value oficmp_typeis-1(which results in a wildcard ICMP type), theicmp_codemust also be set to-1(wildcard ICMP code). Note: For more information on ICMP types and codes, see here: https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml