Ejercicios de PowerShell: permitir mediante una regla en PowerShell el acceso entre un cliente y un servidor creado por ti mismo

Server and client (Sockets UDP)

Código que permite la recepción de mensajes del puerto 2020 y el protocolo UDP

New-NetFirewallRule -DisplayName cllase232 -Action Allow -Direction Inbound -Enabled True -Protocol UDP -LocalPort 2020