Windows firewall
September 15, 2008 – 11:13 by Tom Van den BergThere are different ways to configure firewalling on Windows servers:
- Build in Windows Firewall
- TCP/IP filtering
- Routing and remote access.
If you are using the windows Firewall you can easy manage the Firewall settings via Conrtrol Panel > Windows Firewall or via the properties of your network.
You can also configure the firewall via the command line.
examples using the command prompt:
To change the scope of an exception:
If you are changing the scope of a program exception, type the following at the command prompt, and press ENTER:
netsh firewall set allowedprogram program = program name = name mode = mode scope = scope addresses = addresses
If you are changing the scope of a system service exception, type the following at the command prompt, and press ENTER:
netsh firewall set service type = type mode = mode scope = scope addresses = addresses
If you are changing the scope of a port exception, type the following at the command prompt, and press ENTER:
netsh firewall set portopening protocol = protocol port = port name = name mode = mode scope = scope addresses = addresses
More information: Microsoft Technet