Microsoft Windows
[Version 6.0.6001
](C) Copyright 2006 Microsoft Corp.
c
:\windows>netsh firewall set icmpsetting ?
set icmpsetting
[ type =
] 2-5
|8-9
|11-13
|17
|ALL
[ [ mode =
] ENABLE
|DISABLE
[ profile =
] CURRENT
|DOMAIN
|STANDARD
|ALL
Sets firewall ICMP configuration.
Parameters
:
type - ICMP type.
2 - Allow outbound packet too big.
3 - Allow outbound destination unreachable.
4 - Allow outbound source quench.
5 - Allow redirect.
8 - Allow inbound echo request.
9 - Allow inbound router request.
11 - Allow outbound time exceeded.
12 - Allow outbound parameter problem.
13 - Allow inbound timestamp request.
17 - Allow inbound mask request.
ALL - All types.
mode - ICMP mode (optional).
ENABLE - Allow through firewall (default).
DISABLE - Do not allow through firewall.
profile - Configuration profile (optional).
CURRENT - Applies to the active profile. Active profile can be domain,
standard (i.e. private), or public. (default).
DOMAIN - Applies to the domain profile.
STANDARD - Applies to the standard (i.e. private) profile.
ALL - Applies to the domain and standard (i.e. private) profile.
Does not apply to the public profile.
Examples
:
set icmpsetting 8
set icmpsetting 8 ENABLE
set icmpsetting type=ALL mode=DISABLE