Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 1 | This extension can be used if `\-\-protocol icmp' is specified. It |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 2 | provides the following option: |
| 3 | .TP |
Jan Engelhardt | 3d12c3b | 2009-01-13 15:30:10 +0100 | [diff] [blame] | 4 | [\fB!\fP] \fB\-\-icmp\-type\fP {\fItype\fP[\fB/\fP\fIcode\fP]|\fItypename\fP} |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 5 | This allows specification of the ICMP type, which can be a numeric |
Jan Engelhardt | 3d12c3b | 2009-01-13 15:30:10 +0100 | [diff] [blame] | 6 | ICMP type, type/code pair, or one of the ICMP type names shown by the command |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 7 | .nf |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 8 | iptables \-p icmp \-h |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 9 | .fi |