We just purchased a cisco 3825 router running IOS 15.1. The slice of the topology in question is as follows:
RTP (8000-20000) RTP (8000-20000) 192.168.2.1 <--------------> 192.168.2.5 <----------> 192.168.2.10 (Router) (SIP Proxy) (Media Server)
What we are trying to accomplish is to have the UDP range 8000-20000 forwarded from the net to our SIP proxy 192.168.2.5. Also, our SIP proxy forwards RTP traffic in the same range to our media server 192.168.2.10. The links between the different servers, and the outside world are bi-directional.
Scouring the net there are some mixed reports on whether UDP port forwarding using a range is possible. Can we please have a definitive answer if the following will work in getting RTP traffic to 192.168.2.5:
ip nat pool voip-rtp 192.168.2.5 192.168.2.5 netmask 255.255.255.0 type rotary ip nat inside destination list 114 pool voip-rtp ip route 0.0.0.0 0.0.0.0 Dialer0
Finally, will we need another rule for the internal routing of RTP traffic (ie, 192.168.2.5<---->192.168.2.10)?
Update - Working Route Map for SIP RTP UDP Range
access-list 130 permit udp any any range 8000 20000 route-map voip-rtp permit 1 match ip address 130 ip nat inside source static <private ip> <public ip> route-map voip-rtp