Networking Forums

Networking Forums > Computer Networking > Windows Networking > Port mapping - range of ports

Reply
Thread Tools Display Modes

Port mapping - range of ports

 
 
Jason Breeze
Guest
Posts: n/a

 
      07-25-2004, 11:49 PM
I'm using Windows 2003 and have setup routing and remote access to do NAT.
I need to enable a range of ports to my desktop, but don't see a way to map
a range, it only gives me one at a time. Certain apps use a range so this
appears to present a problem/annoyance to me. Does anyone have a remedy to
this?

Thanks


 
Reply With Quote
 
 
 
 
Dusty Harper {MS}
Guest
Posts: n/a

 
      07-26-2004, 09:59 PM
The easiest solution is to create a script of netsh commands that add the
individual ports.
--
--
Dusty Harper
Microsoft Corporation
----------------------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
----------------------------------------------------------------------------

"Jason Breeze" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm using Windows 2003 and have setup routing and remote access to do NAT.
> I need to enable a range of ports to my desktop, but don't see a way to

map
> a range, it only gives me one at a time. Certain apps use a range so this
> appears to present a problem/annoyance to me. Does anyone have a remedy

to
> this?
>
> Thanks
>
>



 
Reply With Quote
 
Jason Breeze
Guest
Posts: n/a

 
      07-27-2004, 03:00 AM
Sorry, I've never done that. Can you give a quick explanation or a point in
the direction on how to do this?
Thx,
Jason

"Dusty Harper {MS}" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> The easiest solution is to create a script of netsh commands that add the
> individual ports.
> --
> --
> Dusty Harper
> Microsoft Corporation
> --------------------------------------------------------------------------

--
> This posting is provided "AS IS", with NO warranties and confers NO rights
> --------------------------------------------------------------------------

--
>
> "Jason Breeze" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm using Windows 2003 and have setup routing and remote access to do

NAT.
> > I need to enable a range of ports to my desktop, but don't see a way to

> map
> > a range, it only gives me one at a time. Certain apps use a range so

this
> > appears to present a problem/annoyance to me. Does anyone have a remedy

> to
> > this?
> >
> > Thanks
> >
> >

>
>



 
Reply With Quote
 
Dusty Harper {MS}
Guest
Posts: n/a

 
      07-27-2004, 08:21 PM
Create a file called filter.cmd

Add lines similar to the following:

Netsh Routing IP Add Filter Name=X FilterType=Input SrcAddr=0.0.0.0
SrcMask=255.255.255.255 DstAddr=0.0.0.0 DstAddr=255.255.255.255 Proto=TCP
srcport=80 dstport=80

to get the syntax, at a command line type Netsh < Enter > then type Routing
IP <Enter> then type Add filter ? <Enter>

--
--
Dusty Harper
Microsoft Corporation
----------------------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
----------------------------------------------------------------------------

"Jason Breeze" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sorry, I've never done that. Can you give a quick explanation or a point

in
> the direction on how to do this?
> Thx,
> Jason
>
> "Dusty Harper {MS}" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > The easiest solution is to create a script of netsh commands that add

the
> > individual ports.
> > --
> > --
> > Dusty Harper
> > Microsoft Corporation

>
> --------------------------------------------------------------------------
> --
> > This posting is provided "AS IS", with NO warranties and confers NO

rights
>
> --------------------------------------------------------------------------
> --
> >
> > "Jason Breeze" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > I'm using Windows 2003 and have setup routing and remote access to do

> NAT.
> > > I need to enable a range of ports to my desktop, but don't see a way

to
> > map
> > > a range, it only gives me one at a time. Certain apps use a range so

> this
> > > appears to present a problem/annoyance to me. Does anyone have a

remedy
> > to
> > > this?
> > >
> > > Thanks
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Jason Breeze
Guest
Posts: n/a

 
      07-27-2004, 10:39 PM
Sorry, not for a range of addresses, a range of ports...

"Dusty Harper {MS}" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Create a file called filter.cmd
>
> Add lines similar to the following:
>
> Netsh Routing IP Add Filter Name=X FilterType=Input SrcAddr=0.0.0.0
> SrcMask=255.255.255.255 DstAddr=0.0.0.0 DstAddr=255.255.255.255 Proto=TCP
> srcport=80 dstport=80
>
> to get the syntax, at a command line type Netsh < Enter > then type

Routing
> IP <Enter> then type Add filter ? <Enter>
>
> --
> --
> Dusty Harper
> Microsoft Corporation
> --------------------------------------------------------------------------

--
> This posting is provided "AS IS", with NO warranties and confers NO rights
> --------------------------------------------------------------------------

--
>
> "Jason Breeze" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Sorry, I've never done that. Can you give a quick explanation or a

point
> in
> > the direction on how to do this?
> > Thx,
> > Jason
> >
> > "Dusty Harper {MS}" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > The easiest solution is to create a script of netsh commands that add

> the
> > > individual ports.
> > > --
> > > --
> > > Dusty Harper
> > > Microsoft Corporation

> >

>
> --------------------------------------------------------------------------
> > --
> > > This posting is provided "AS IS", with NO warranties and confers NO

> rights
> >

>
> --------------------------------------------------------------------------
> > --
> > >
> > > "Jason Breeze" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > I'm using Windows 2003 and have setup routing and remote access to

do
> > NAT.
> > > > I need to enable a range of ports to my desktop, but don't see a way

> to
> > > map
> > > > a range, it only gives me one at a time. Certain apps use a range

so
> > this
> > > > appears to present a problem/annoyance to me. Does anyone have a

> remedy
> > > to
> > > > this?
> > > >
> > > > Thanks
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping of ports for Voip - setup or major bug ? Nick Farrow Windows Networking 5 07-25-2006 02:46 PM
MN-100 Application port trigger vs port mapping Nikitas Broadband Hardware 0 11-12-2004 02:41 AM
Mapping TCP Ports JA Windows Networking 2 05-19-2004 11:48 PM
mapping a range of ports RIP Windows Networking 1 04-09-2004 07:26 PM
USB port adapter -> Multi USB ports existing ? Extending number of USB ports possible ? Thomas Jerkins Windows Networking 1 12-24-2003 01:15 PM



1 2 3 4 5 6 7 8 9 10 11