Re: sp2 Firewall Port Range
From: Doug Knox MS-MVP (dknox_at_mvps.org)
Date: 08/19/04
- Next message: hendu: "computer crashes with new service pack?"
- Previous message: Penny: "firewall"
- In reply to: Bill Benz: "Re: sp2 Firewall Port Range"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 19 Aug 2004 17:33:20 -0400
You could use a BAT file and the NETSH FIREWALL command
An example of this would be opening ports 20000 to 20010
@Echo OFF
FOR /L %%I IN (20000,1,20010) DO NETSH FIREWALL ADD PORTOPENING TCP %%I FTPPort%%I
To run this command from the Run dialog, use:
@Echo OFF
FOR /L %I IN (20000,1,20010) DO NETSH FIREWALL ADD PORTOPENING TCP %I FTPPort%I
Open a Command Prompt window and enter NETSH FIREWALL /? for more help on this topic. NETSH FIREWALL ADD /? for more help on the ADD command.
-- Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display Win 95/98/Me/XP Tweaks and Fixes http://www.dougknox.com -------------------------------- Per user Group Policy Restrictions for XP Home and XP Pro http://www.dougknox.com/xp/utils/xp_securityconsole.htm -------------------------------- Please reply only to the newsgroup so all may benefit. Unsolicited e-mail is not answered. "Bill Benz" <none@none.com> wrote in message news:d08Vc.156228$bp1.27684@twister.nyroc.rr.com... > Program is on the excetion list however it will not work. It is a FTP > server and needs a range of ports to work. > Damn microsoft :-( > > "SlowJet" <anonymous@discussions.microsoft.com> wrote in message > news:1c3001c485c5$f387a0a0$a301280a@phx.gbl... >> Assuming the program send something out to be responded >> to. >> Otherwise it would just sit and spin. >> >> SJ >>>-----Original Message----- >>>I sure don'y see a way to specify a range. >>>But if the 100 ports are used by a program(s), >>>when the program runs (starts listening), >>>wouldn't WFW do the pop-up and say this is being block, >>>continue to block, unblock, or ask me later. >>> >>>Also, the program name could be added to the exception >>>list. >>> >>>SJ >>>>-----Original Message----- >>>>I need to open a range of ports(around 100) in the >> built >>>in sp2 firewall. >>>>I do not see a way to open a range of ports without >>>manually opening each >>>>one. >>>>Any ideas? >>>>Thanks, >>>>Bill >>>> >>>> >>>>. >>>> >>>. >>> > >
- Next message: hendu: "computer crashes with new service pack?"
- Previous message: Penny: "firewall"
- In reply to: Bill Benz: "Re: sp2 Firewall Port Range"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|