20120614

[解法] 開關ping的回應

win7 / server 2008 預設 icmp port 對 ping 的回應分別是 開 / 關

以下提供四組進階指令
[新增]
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow

[修改] - 關鍵字為 new
netsh advfirewall firewall set rule name="ICMP Allow incoming V4 echo request" new action=block

[刪除]
netsh advfirewall firewall delete rule name="ICMP Allow incoming V4 echo request"

[查詢]
netsh advfirewall firewall show rule name="ICMP Allow incoming V4 echo request"

refer microsoft 947709

#

0 意見:

張貼留言