问题
I have deployed my Asp.Net web application on Windows Server 2008 R2 , and I want to block all ping requests to this server without effecting my application .
Thanks in advance
回答1:
Go to Start → Administrative Tools → Windows Firewall with Advanced Security → Inbound Rules → File and Printer Sharing (Echo Request – ICMPv4-IN) → right click and select Enable Rule.
My application now works fine and when I try to ping my server I do not receive any response.
回答2:
Using the solution provided by Satinder, you should further refine the scope of which computer/server and/or IP range(s) can Ping your server.
That way, the public can't ping your server but maybe you or certain computer on your network can get to it in case you need a quick check on connectivity.
来源:https://stackoverflow.com/questions/10260897/block-ping-in-windows-server-2008-r2