Windows Firewall
Ir para navegação
Ir para pesquisar
netsh advfirewall firewall add rule name="Allow" enable=yes dir=in action=allow localip=any remoteip=1.2.3.4,1.2.3.5 protocol=tcp localport=1234 interfacetype=any security=notrequired netsh advfirewall firewall add rule name="Block" enable=yes dir=in action=block localip=any remoteip=any protocol=tcp localport=1234 interfacetype=any security=notrequired