Bloquea el tráfico ICMP (pings) entrante con PowerShell
Автор: Mexploit
Загружено: 2025-10-14
Просмотров: 823
Описание:
Aprende a usar PowerShell para modificar el firewall de Windows, bloquear solicitudes ICMP (ping) y cerrar puertos.
Comandos:
Bloquea pings a IPs IPv4 e IPv6:
New-NetFirewallRule -DisplayName "Block ICMPv4 Echo Request" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -Action Block -Profile Any -Enabled True
New-NetFirewallRule -DisplayName "Block ICMPv6 Echo Request" -Direction Inbound -Protocol ICMPv6 -IcmpType 128 -Action Block -Profile Any -Enabled True
Bloquea un puerto (ejemplo: 139 - SMB sobre NetBIOS):
New-NetFirewallRule -DisplayName "Block TCP 139" -Direction Inbound -Action Block -Protocol TCP -LocalPort 139 -Profile Any -Enabled True
Elimina una regla del firewall:
Remove-NetFirewallRule -DisplayName "Block ICMPv6 Echo Request"
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: