blob: 1039704f7ff8f3c847c9a0b04fd380a1bea1486a [file] [log] [blame]
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01001This extension can be used if `\-\-protocol icmp' is specified. It
Henrik Nordstromc2794132004-01-22 15:04:24 +00002provides the following option:
3.TP
Jan Engelhardt3d12c3b2009-01-13 15:30:10 +01004[\fB!\fP] \fB\-\-icmp\-type\fP {\fItype\fP[\fB/\fP\fIcode\fP]|\fItypename\fP}
Henrik Nordstromc2794132004-01-22 15:04:24 +00005This allows specification of the ICMP type, which can be a numeric
Jan Engelhardt3d12c3b2009-01-13 15:30:10 +01006ICMP type, type/code pair, or one of the ICMP type names shown by the command
Henrik Nordstromc2794132004-01-22 15:04:24 +00007.nf
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01008 iptables \-p icmp \-h
Henrik Nordstromc2794132004-01-22 15:04:24 +00009.fi