View Single Post
C0nw0nk
Senior Member
Join Date: May 2011
Location: United Kingdom
Old 01-27-2013 , 17:55   Re: SRCDS Windows Firewall Security / Hardening
Reply With Quote #23

In windows server 2003 the command line is different when i find out what it is i will post it but i don't think it blocks ports for specific programs like windows firewall 2008 as far as i am aware if you block a port it would block it for all programs upon the server.

To open a port this would do the trick
netsh firewall set portopening protocol=TCP port=3389 name="Remote Desktop Protocol" mode=ENABLE

To block a port im assuming if it is not set to a state as allowed in the firewall it would be blocked by default.
(Atleast thats the understanding i have from microsoft http://technet.microsoft.com/en-us/l...=ws.10%29.aspx)

So it should look like this.. I hope it works

netsh firewall delete portopening protocol=TCP port=27015
__________________

Last edited by C0nw0nk; 01-27-2013 at 18:17.
C0nw0nk is offline
Send a message via MSN to C0nw0nk