Block Ports with Windows Firewall on Win 10

Ian Price
Ian Price used Ask the Experts™
on
Good Morning,

So I've been tasking with closing certain ports on some computers at the moment I am playing with a Test Computer via Windows Firewall implementing locally and via GPO

So for example I want to try and block port 445 for example by default and then only allow certain IP addresses to connect to that port.

I know I can block the port via Windows Firewall and run Netstat -NA to see if the port is listening

If it also possible to telnet to open port to test is they are open? If so how would I know if it was connected or blocked.

If there a way to turn on Windows Firewall Logging on a local computer without going via GPO

Thank in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
There is a nice video about the windows firewall - do you have 45 minutes? Watch https://channel9.msdn.com/Events/Ignite/New-Zealand-2016/M377

It is a mighty instrument and rarely I see people who use it right. Some of your questions are answered within the video.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial