Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Using Windows Firewall and a range of ports

Closed Thread
 
Thread Tools Display Modes
Old 12-17-2007   #1 (permalink)
Rykaro
Guest


 

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
Old 12-17-2007   #2 (permalink)
Jesper
Guest


 

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
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
after windows firewall putting off on windows vista unable to access network and unable to on windows firewall Gurbatullah Khan Vista security 3 03-12-2008 10:59 AM
Vista Remote assistance ports with Gateway-LAN firewall lonbluster@gmail.com Vista networking & sharing 0 07-19-2007 09:27 AM
Using both the windows firewall and windows live care one firewall gapascookie Vista performance & maintenance 0 04-03-2007 01:56 AM
Ports closed, even with no firewall Robert Caraballo Vista General 1 09-18-2006 04:30 PM
Windows Firewall: almost all ports are closed but not stealthed! BillD Vista security 4 06-12-2006 12:33 PM








Vistax64.com 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 2005-2008

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 47 48 49 50