Answer the question
In order to leave comments, you need to log in
How to get a list of open Windows Firewall ports on a local machine?
I'm looking for an analogue of netstat -a but displaying only ports open on the firewall.
And I remember exactly that there was such a command (cmd or ps - I don’t remember), but due to some kind of brain buffer overflow I forgot.
UPD: I'm not interested in listing the rules, thanks.
Answer the question
In order to leave comments, you need to log in
netsh advfirewall firewall show rule name=all dir=in verbose
In general, netsh has its own command mode, there is detailed help for each command.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question