Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Using Windows Firewall and a range of ports

Reply
 
Old 12-17-2007   #1 (permalink)
Rykaro


 
 

Using Windows Firewall and a range of ports

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/com...vista.security

My System SpecsSystem Spec
Old 12-17-2007   #2 (permalink)
Jesper


 
 

RE: Using Windows Firewall and a range of ports

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.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Rykaro" wrote:
Quote:

> 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/com...vista.security
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Windows Calendar Print Range Vista General
after windows firewall putting off on windows vista unable to access network and unable to on windows firewall Vista security
Vista Remote assistance ports with Gateway-LAN firewall Vista networking & sharing
Ports closed, even with no firewall Vista General
Windows Firewall: almost all ports are closed but not stealthed! Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46