Skip to content

Instantly share code, notes, and snippets.

@joe-oli
Created April 12, 2021 14:02
Show Gist options
  • Save joe-oli/36f02ee295aca1ef8b3fc7dfa03d4b3c to your computer and use it in GitHub Desktop.
Save joe-oli/36f02ee295aca1ef8b3fc7dfa03d4b3c to your computer and use it in GitHub Desktop.
Allow Ping (AKA ICMP Echo) through Windows Firewall
* Run as Admin, then enter: (for IPv4)
>netsh advfirewall firewall add rule name="ZCustom ICMP Allow inbound V4 Echo (Ping) request" protocol=icmpv4:8,any dir=in action=allow
Ok.
(For IPv6)
>netsh advfirewall firewall add rule name="ZCustom ICMP Allow inbound V6 Echo (Ping) request" protocol=icmpv6:8,any dir=in action=allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment