Using Windows Firewall and a range of ports

R

Rykaro

Hi there,

I'm trying to lockdown my Windows firewall (I'm using Vista Ultimate
Edition) as much as possible.

I started with Windows Live Messenger. Simple enough to begin with, create
a rule that allows msnmsgr.exe access to TCP ports 80, 443 and 1863 outbound.
But I also want to allow it access to the other TCP and UDP ports specified
in the following site http://support.microsoft.com/default.aspx/kb/927847

Unfortunately I cannot find a way to add a range of ports in short of
specifying every single port. I can't put 1025-65535. I can only put
1025,1026,1027 and so on which isn't very realistic if you intend to do this
for say 50 applications.

If there is a way of adding a range of ports without typing each one in then
I cannot find it so please let me know. If not then it might be a useful
feature to add.

Cheers,

Ry

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://windowshelp.microsoft.com/co...4d&dg=microsoft.public.windows.vista.security
 
J

Jesper

Port ranges are frequently requested. Right now the best work-around is to
use the netsh advfirewall command and wrap it in a for loop:

for /l %i in (1024-1032) do netsh advfirewall firewall add rule ...
remoteport=%i

That still sets up multiple rules, but at least it is one command.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top