How to disable Windows Firewall in Windows Server 2008 Server Core

So in Server Core the built-in Windows firewall comes on by default. You can choose to disable it completely to get all the networking components working by using this NETSH command,

netsh firewall set opmode disable

You can use the enable switch to turn it back on. However, completely disabling it may be a bad idea, and you should choose the following commands to specifically open up gates for certian ports and applications. For example to open up port 3389 for RDP use,

netsh firewall set portopening TCP 3389 "AnyNameHereSuchasRDP"

or

netsh firewall set allowedprogram FullPathToExecutable name=AnyNameHere

Note that above commands should be entered in one line, and are overlapped due to the page format in this post.

For more information on advanced firewall functionalty, please go here.

tags:
posted in Server Core, Windows Server 2008 by Rick

Follow comments via the RSS Feed | Leave a comment | Trackback URL

1 Comment to "How to disable Windows Firewall in Windows Server 2008 Server Core"

  1. Shariq Sheikh | Port 389 » Blog Archive » Getting started with Server Core is easier now in R2 wrote:

    [...] http://www.shariqsheikh.com/blog/index.php/200804/how-to-disable-windows-firewall-in-windows-server-... [...]

Leave Your Comment

 
(c) 2008 - 2012 Shariq Sheikh. All Rights Reserved.