Link to home
Start Free TrialLog in
Avatar of vizient
vizientFlag for United States of America

asked on

Configure multiple ports for NAT in one command?

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?
ASKER CERTIFIED SOLUTION
Avatar of TheTechMan
TheTechMan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vizient

ASKER

Thanks! I will test it out tonight and let you know how it goes tomorrow morning.
If this works I'll add this to my knowledgebase... I've had this same problem myself in the past ;-)
Avatar of Pugglewuggle
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! :-)
Hello, did my answer work for you?  Please close out the question if you can?
Whooops... sorry...  I misread something.  I'm glad it helped out, and I'm sorry for the confusion here.  Take care!