cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1183
Views
2
Helpful
3
Replies

NAT-PAT port range for VoIP

olafmarcos
Level 1
Level 1

Hi:

I'm trying to set a nat translation from outside to inside for a udp range port.

I've try some configurations. Here is the last one:

ip nat inside source route-map RTP interface Dialer0 [reversible] overload

access-list 110 remark Nat Host RTP

access-list 110 permit udp host 192.168.6.248 range 10001 20000 any

route-map RTP permit 10

match ip address 110

I've got an Dynamic IP from my provider. The internal range is 192.168.6.0/24.

Why this doesn't work?

Some advices?

Thanks in advance

3 Replies 3

dgahm
Level 8
Level 8

Cisco VOIP uses a RTP UDP port range of 16384 to 32767, so your port range is one possibility. Do you have ip nat inside and outside statements on the interfaces? Have you tried a debug ip nat?

Please rate helpful posts.

Dave

Hi Dave:

Yes. I have ip nat inside and outside statements on interfaces. The range is for Asterisk standard RTP port range, so I don't use the cisco voip range. I use cisco 857 with ios Version 12.4(6)T6.

I don't try debug ip nat. I'll do whenever i can.

Thanks.

I can run the proposite doing:

ip nat inside source static interface Dialer0

and permitting in the "acl in" of Dialer:

access-list 102 permit udp any any range 10001 20000

but this implies that if i need to nat anoother range to another Internal_IP, I can't. I only can map the external Dynamic_IP to one Internal_IP.

Is this a cisco limitation?

Is there any way?

Thanks.

Olaf.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card