Virtualization, Cloud, Infrastructure and all that stuff in-between

My ramblings on the stuff that holds it all together

Allow ICMP Ping through Windows firewall from command line

Leaving this here for the next time I can’t remember how to do it.. Windows by default ships with the firewall slammed shut (and rightly-so) however if you can’t easily see the console of the machine like if it’s in Azure sometimes it’s hard to figure out when it’s up and ready to go – I have a jump box in Azure that I power-up when I need it.

so, to do-so you need to run this command once the first time you use it then, ICMP (Ping) will be allowed for evermore

netsh advfirewall firewall add rule name="Allow ICMP Ping" protocol=icmpv4:8,any dir=in action=block

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

<span>%d</span> bloggers like this: