LKBEN10912: Howto show and change the firewall settings for a windows 2008 server core-installation
LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False
Author: Wim Peeters - Keskon GmbH & Co. KG
Symptom
You have a windows server 2008 core server and need to check your firewall settings and open some ports
Cause
none
Solution
You can use the netsh command to check your firewall settings. e.g.
netsh firewall show state
This command will show you if your firewall is active and the state it has.
To open certain ports you use the following command. e.g.
netsh firewall add portopening ALL 53 DNS-server
netsh firewall add portopening TCP 135 remote-admin
netsh firewall add portopening UDP 137 netbios-ns
netsh firewall add portopening UDP 138 netbios-dgm
netsh firewall add portopening TCP 139 netbios-ssn
netsh firewall add portopening TCP 445 netbios-ns
About the Author
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.