View Single Post
-=Leb=-
SourceMod Donor
Join Date: Dec 2008
Location: Sweden/Stockholm
Old 01-26-2013 , 20:24   Re: SRCDS Windows Firewall Security / Hardening
Reply With Quote #22

Hi c0n, i have a windows server 2003. and im trying to block the srcds connecting from TCP
and i can't get your command to work

Quote:
netsh advfirewall firewall add rule name="srcds block TCP" protocol=TCP dir=in action=block program="C:\srcds\srcds.exe"
would you plz type the command for windows 2003


I maybe need to allow the UDP incase if its blocked.
Quote:
netsh advfirewall firewall add rule name="srcds allow UDP" protocol=UDP dir=in action=allow program="C:\srcds\srcds.exe" localport=27015,27020
thx in advance

Last edited by -=Leb=-; 01-27-2013 at 11:59.
-=Leb=- is offline