ber*_*d_k 3 firewall windows-7 ping
服务器故障告诉在 Windows Server 2008 上启用 ping 的新语法是
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request"
protocol=icmpv4:8,any dir=in action=allow
Run Code Online (Sandbox Code Playgroud)
但这不适用于 Windows 7。我明白了
C:\Windows\system32>netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
A specified value is not valid.
Usage: add rule name=<string>
...
Run Code Online (Sandbox Code Playgroud)
什么是正确的新语法?
问题是复制和粘贴。用正确的引号
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request"
protocol=icmpv4:8,any dir=in action=allow
Run Code Online (Sandbox Code Playgroud)
做这项工作。我不确定我从哪个来源复制了有问题的版本。
| 归档时间: |
|
| 查看次数: |
19367 次 |
| 最近记录: |