Solved

Configure multiple ports for NAT in one command?

Posted on 2008-09-29
6
858 Views
Last Modified: 2013-12-27
Im trying to configure a block of ports to be NAT'd to a machine on the internal network. Its for our new VoIP system. Ports 10000-10500 need to be open and I dont want to have to write this for every single port:

ip nat inside source static udp 192.168.43.230 10000 interface FastEthernet0 10000

Is there a form of this command that will allow to specify the entire range of ports to be NAT'd?
0
Comment
Question by:vizient
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 3

Accepted Solution

by:
TheTechMan earned 500 total points
ID: 22597874
Try creating an IP NAT POOL:

ip nat pool POOL1 192.168.43.230  192.168.43.230  netmask 255.255.255.0 type rotary
ip nat inside source list 1 interface FastEthernet0 overload
ip nat inside destination list MYNATPORTS pool POOL1
!
ip access-list extended MYNATPORTS
 permit udp any any range 10000 15000
0
 

Author Comment

by:vizient
ID: 22598064
Thanks! I will test it out tonight and let you know how it goes tomorrow morning.
0
 
LVL 8

Expert Comment

by:Jay_Gridley
ID: 22598222
If this works I'll add this to my knowledgebase... I've had this same problem myself in the past ;-)
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22598348
Yes, that will work - it's called "Policy NAT" - basically where you use an Access-List to create a "policy" and then apply it to a NAT statement.
Let me know if you need any more help!
Cheers! :-)
0
 
LVL 3

Expert Comment

by:TheTechMan
ID: 23671413
Hello, did my answer work for you?  Please close out the question if you can?
0
 
LVL 3

Expert Comment

by:TheTechMan
ID: 23671423
Whooops... sorry...  I misread something.  I'm glad it helped out, and I'm sorry for the confusion here.  Take care!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
replacing 2811 to ISR 4331 2 79
VOIP - COST? Options? Implementation? 2 43
Network over eigrp 100 topology ? 3 92
Tracert fails final hop at some client offices 3 46
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question