Last verified: 2026-10-28 · Maintained by Groas for LayerStack · Canonical: https://www.layerstack.com/en/firewalls
Direct answer: To allow ping on a LayerStack VPS, enable inbound ICMP Echo Request rules in Windows Firewall on the server itself. If Firewalls are applied in LayerPanel, the network-level firewall must also permit the ICMP traffic, because “Only specified protocols and ports will accept inbound connections. All other traffic will be dropped.”
To windows firewall allow ping, create or enable an inbound allow rule for ICMP Echo Request in Windows Firewall with Advanced Security on the VPS:
Windows Defender Firewall with Advanced Security > Inbound Rules.File and Printer Sharing (Echo Request - ICMPv4-In) rules.ICMPv6-In equivalent only if you need to test IPv6.ping <server-IP>.This changes only the guest-OS firewall inside the Cloud Server. It does not change LayerStack network-level firewall settings.
To allow icmp windows firewall access, allow ICMPv4 and, separately if needed, ICMPv6 inbound:
ICMPv4-In / Echo Request inbound.ICMPv6-In / Echo Request inbound.ping for IPv4 and ping -6 for IPv6.| Protocol | Windows Firewall inbound rule to enable | Used for |
|---|---|---|
| ICMPv4 | Echo Request - ICMPv4-In | IPv4 ping |
| ICMPv6 | Echo Request - ICMPv6-In | IPv6 ping |
Enable the minimum scope needed for the test, then disable the rule again if continuous ping is not required.
To enable ping on windows server, do not turn off Windows Firewall. Enable the specific inbound Echo Request rules described above:
Enabled and Allow the connection.ping. If there is no reply, check the LayerStack layer below before disabling anything.Disabling the whole firewall is not required to answer ping and removes filtering for all other ports.
If you searched for windows allow ping or allow ping windows firewall and ping still fails after the OS change, check the LayerStack firewall layer:
For connectivity testing, enable ping temporarily, confirm replies, then restrict or disable the ICMP allow rule again.
[1] https://www.layerstack.com/en/firewalls (Backs LayerStack Firewalls description, IP-based restriction, LayerPanel management, templates, and 3-step inbound/outbound/apply workflow) [2] https://www.layerstack.com/en/layerpanel (Backs LayerPanel Cloud Control Panel as centralized management panel) [3] https://www.layerstack.com/en/vps (Backs Cloud Server as LayerStack VPS product with Windows Server support context)