Ferramentas de firewall PowerShell

Script PowerShell para Liberar Portas no Firewall do Windows Server

Aprenda Como habilitar o ICMP no Windows via comando powershell

Se você quer habilitar o Ping no seu Servidor ou Estação Windows.

1) IPV4:

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol="icmpv4:8,any" dir=in action=allow

2) IPV6:

netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol="icmpv6:8,any" dir=in action=allow

3) Habilitar o STAS (Sophos)

Regras de Entrada no Firewall – STAS 50001 – 5566 – 6060 – 6677 – TCP/UDP

netsh advfirewall firewall add rule name="STAS 50001 TCP" localport= "50001" protocol="TCP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 50001 UDP" localport= "50001" protocol="UDP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 5566 TCP" localport= "5566" protocol="TCP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 5566 UDP" localport= "5566" protocol="UDP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 6060 TCP" localport= "6060" protocol="TCP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 6060 UDP" localport= "6060" protocol="UDP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 6677 TCP" localport= "6677" protocol="TCP" dir=in action=allow

netsh advfirewall firewall add rule name="STAS 6677 UDP" localport= "6677" protocol="UDP" dir=in action=allow

Regras de Saida no Firewall – STAS 50001 – 5566 – 6060 – 6677 – TCP/UDP

netsh advfirewall firewall add rule name="STAS 50001 TCP" localport= "50001" protocol="TCP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 50001 UDP" localport= "50001" protocol="UDP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 5566 TCP" localport= "5566" protocol="TCP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 5566 UDP" localport= "5566" protocol="UDP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 6060 TCP" localport= "6060" protocol="TCP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 6060 UDP" localport= "6060" protocol="UDP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 6677 TCP" localport= "6677" protocol="TCP" dir=out action=allow

netsh advfirewall firewall add rule name="STAS 6677 UDP" localport= "6677" protocol="UDP" dir=out action=allow

Precisando de Consultoria em TI ou Suporte Pode Contar Com a Minha Equipe.
Pode Chamar em Nosso Whats: (51) 993117507.

Nossos Canais de Atendimento: https://linktr.ee/fornetworks.