Contents tagged with Firewall

  • Command line to configure windows firewall for SQL server access

    I regularly deploy SQL Server to new Windows Server 2008 hosts and one thing that I find quite a chore is the wizard to configure the windows firewall on the host. So I done a quick bit of research today and found that the windows firewall can be configured from the command line very easily. Basically all you need to do is run the command prompt as an administrator and type/paste in the following:

    netsh advfirewall firewall add rule name="SQL Server TCP1433-In" action=allow protocol=TCP …