Posted On December 16, 2020

Windows Firewall Block ICMP Ping

kimconnect 0 comments
blog.KimConnect.com >> Networking , Windows >> Windows Firewall Block ICMP Ping

Following is a quick exercise in configuring Windows firewall to block certain protocols:

# Disable Ping Outbound
New-NetFirewallRule -DisplayName "Block Outbound ICMPv4" -Direction Outbound -Protocol ICMPv4 -IcmpType 8 -Action Block

# New-NetFirewallRule -DisplayName "Block Outbound ICMPv6" -Direction Outbound -Protocol ICMPv6 -IcmpType 8 -Action Block
# Reverse the change
netsh advfirewall firewall delete rule name="Block Outbound ICMPv4"

# netsh advfirewall firewall delete rule name="Block Outbound ICMPv6"

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Jenkins: How to Clone a Job

To create a new job, use this quick how-to. This instruction is a quick walk-through…

Active Directory Group Policy – HIPPA Auditing

The Health Insurance Portability and Accountability Act of 1996 (HIPAA) is a federal law that required the…

Exchange: New-MoveRequest

New-MoveRequest -Identity '[email protected]' -TargetDatabase "DB01" -WhatIfNew-MoveRequest -Identity '[email protected]' -TargetDatabase "DB01"Get-Mailbox -Database DB01 | New-MoveRequest -TargetDatabase…