On a freshly deployed Windows 2012 R2 VPS server, possibly deployed by the WHMCS module Virtualizor_cloud, you cannot ping the server.
When you VNC to the server everything seems to work and you get PING DNS names outbound, e.g. ping www.cnn.com replies with the correct IP.
The issue is a freshly deployed Windows 2012 R2 ping is not enabled by default.
To enable it:
Start Powershell:
Enable-NetFirewallRule -Name FPS-ICMP4-ERQ-In |
Get-NetFirewallRule -Name FPS-ICMP4-ERQ-In |
Example:
Windows PowerShell ... PS C:\Users\Administrator> Get-NetFirewallRule -Name FPS-ICMP4-ERQ-In ... Name : FPS-ICMP4-ERQ-In DisplayName : File and Printer Sharing (Echo Request - ICMPv4-In) Description : Echo Request messages are sent as ping requests to other nodes. DisplayGroup : File and Printer Sharing Group : @FirewallAPI.dll,-28502 Enabled : False Profile : Domain, Public Platform : {} Direction : Inbound Action : Allow EdgeTraversalPolicy : Block LooseSourceMapping : False LocalOnlyMapping : False Owner : PrimaryStatus : OK Status : The rule was parsed successfully from the store. (65536) EnforcementStatus : NotApplicable PolicyStoreSource : PersistentStore PolicyStoreSourceType : Local PS C:\Users\Administrator> Enable-NetFirewallRule -Name FPS-ICMP4-ERQ-In