about setting firewall



CK
07-10-2005, 03:12 AM
i plan to set a group port through the firewall which like "9996 to 9999" for
TCP, may i know how can i do without setting one by one??

Torgeir Bakken \(MVP\)
07-10-2005, 03:12 AM
CK wrote:

> i plan to set a group port through the firewall which like
> "9996 to 9999" for TCP, may i know how can i do without
> setting one by one??
Hi,

To use a BAT file and the NETSH.EXE FIREWALL command see the post by
Doug Knox MS-MVP here:

sp2 Firewall Port Range
http://forum.iamnotageek.com/history/topic.php/656490-1.html

A VBScript version:
http://groups.google.co.uk/group/microsoft.public.windowsxp.general/msg/35c07cd4b157e69a?dmode=source&hl=en




--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


about setting firewall