Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asterisk Port Forwarding for RTP/UDP

Status
Not open for further replies.
Feb 12, 2009
13
US
I have a Cisco Pix 515e running 6.3. I have an external ip of 156.108.xxx.xxx (only one external ip) and need to forward UDP ports 10000 thru 20000 to one internal asterisk server(10.10.10.185) to allow RTP for external voip phones to work. Is it possible to do one command to allow port forwarding of all those ports to my internal asterisk server with out having to manually input 10000 lines of static? I have it already in my acess-list inbound to permit udp traffic on those ports. How do i get it to forward those ports then to my internal asterisk box?

 
You can only do the individual ports one at a time unless you have a secondary ip. - Sorry, it sucks but I've had to do it for some clients too.

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Thanks Supergrrover! I think this is the second time you've assisted me and I greatly appreciate it! I'm looking now to see if i can get a second IP address from my ISP. Basically then all I would need to do from the sounds of the board here, is to make some sort of access-list and and access-group then instead of doing the static forwards then?
 
Yes, you will want to make a static that maps the 2nd ip to the internal ip of the asterisk. Then just allow the ports you want through the ACL.

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top