Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > port mapping for a range of ports

Reply
Thread Tools

port mapping for a range of ports

 
 
mofoshaweng
Guest
Posts: n/a
 
      04-01-2004
Hi all,

I'm wondering if someone can tell me what command I can use if I want to
map a range of ports to an internal IP address.

This is for a single port mapping:

ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
extendable

but how can I specify that I want to map the whole range of ports from 25 -
1000 ?

Thanks in advance,

Shal.






 
Reply With Quote
 
 
 
 
Joce
Guest
Posts: n/a
 
      04-01-2004
mofoshaweng wrote:

> Hi all,
>
> I'm wondering if someone can tell me what command I can use if I want to
> map a range of ports to an internal IP address.
>
> This is for a single port mapping:
>
> ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
> extendable
>
> but how can I specify that I want to map the whole range of ports from 25
> - 1000 ?
>
> Thanks in advance,
>
> Shal.

And you're talking about...? PIX, router...?

Thanks
 
Reply With Quote
 
 
 
 
mofoshaweng
Guest
Posts: n/a
 
      04-01-2004

"Joce" <(E-Mail Removed)> wrote in message
news:liVac.63326$(E-Mail Removed) ...

> mofoshaweng wrote:
>
> > Hi all,
> >
> > I'm wondering if someone can tell me what command I can use if I want to
> > map a range of ports to an internal IP address.
> >
> > This is for a single port mapping:
> >
> > ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
> > extendable
> >
> > but how can I specify that I want to map the whole range of ports from

25
> > - 1000 ?
> >
> > Thanks in advance,
> >
> > Shal.

> And you're talking about...? PIX, router...?


Geez, sorry. I was under the impression that it would be the same no matter
what
it was for. I'm talking about a Cisco SOHO 77 ADSL router.

Mofoshaweng


 
Reply With Quote
 
Walter Roberson
Guest
Posts: n/a
 
      04-01-2004
In article <liVac.63326$(E-Mail Removed)>,
Joce <(E-Mail Removed)> wrote:
:mofoshaweng wrote:
:> I'm wondering if someone can tell me what command I can use if I want to
:> map a range of ports to an internal IP address.

:> This is for a single port mapping:

:> ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
:> extendable

:And you're talking about...? PIX, router...?

Joce,

The PIX does not have an 'ip nat' command (it calls it 'nat'), and
the PIX does not have an 'extendable' parameter. So mofoshaweng must be
talking about -some- IOS device.
--
"Infinity is like a stuffed walrus I can hold in the palm of my hand.
Don't do anything with infinity you wouldn't do with a stuffed walrus."
-- Dr. Fletcher, Va. Polytechnic Inst. and St. Univ.
 
Reply With Quote
 
Joce
Guest
Posts: n/a
 
      04-01-2004
Walter Roberson wrote:

> In article <liVac.63326$(E-Mail Removed)>,
> Joce <(E-Mail Removed)> wrote:
> :mofoshaweng wrote:
> :> I'm wondering if someone can tell me what command I can use if I want
> :> to map a range of ports to an internal IP address.
>
> :> This is for a single port mapping:
>
> :> ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
> :> extendable
>
> :And you're talking about...? PIX, router...?
>
> Joce,
>
> The PIX does not have an 'ip nat' command (it calls it 'nat'), and
> the PIX does not have an 'extendable' parameter. So mofoshaweng must be
> talking about -some- IOS device.

Yes you're right... I didn't check the message properly

But anyway, personaly I think you can't do it with a router or a PIX.

Thanks
 
Reply With Quote
 
Hansang Bae
Guest
Posts: n/a
 
      04-02-2004
In article <(E-Mail Removed)>, http://www.velocityreviews.com/forums/(E-Mail Removed)
says...
> I'm wondering if someone can tell me what command I can use if I want to
> map a range of ports to an internal IP address.
> This is for a single port mapping:
> ip nat inside source static tcp 192.168.100.102 25 66.239.153.194 25
> extendable
>
> but how can I specify that I want to map the whole range of ports from 25 -
> 1000 ?


You can use a extended ACL with the range command.


--

hsb

"Somehow I imagined this experience would be more rewarding" Calvin
*************** USE ROT13 TO SEE MY EMAIL ADDRESS ****************
************************************************** ******************
Due to the volume of email that I receive, I may not not be able to
reply to emails sent to my account. Please post a followup instead.
************************************************** ******************
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
port range mapping ? gooker Cisco 3 12-18-2006 06:08 PM
mapping range of ports on Cisco SOHO 77 Mofoshaweng Cisco 4 03-26-2005 05:14 PM
PIX and mapping ports Kirk Goins Cisco 2 12-05-2003 11:06 PM
about "match ip rtp starting-port-number port-range" Weiguang Shi Cisco 1 10-25-2003 07:14 AM
Port mapping to (SIGNAL_NAME'range=>'0')? Ken Morrow VHDL 2 07-25-2003 11:26 PM



Advertisments