[Asterisk-Users] Asterisk behind NAT

Joao Pereira joao.pereira at fccn.pt
Thu Apr 6 08:48:51 MST 2006


Thank you very much
And if I put the correct SRV records in the DNS, can Asterisk receive 
calls??

How does the router knows, that the call must be delivered to Asterisk? 
Can I map all the requests that reach the router port 5060, to be 
delivered in 192.168.0.50 ?

Did someone implemented successfully a SIP domain in Asterisk behind NAT?
Thanks
Joao Pereira


Kerry Garrison wrote:

>Yes.
>
>In Sip.conf you need the following lines:
>
>externip=xxx.xxx.xxx.xxx ; put public ip address here
>localnet=192.168.10.0/255.255.255.0 ; edit as appropriate
>
>In your firewall, add the following mappings to your server:
>
>5060-5061 UDP
>10,000 - 20,000 UDP
>
>Kerry Garrison
>Director of Technical Services
>Tech Data Pros - Orange County's Mobile IT Service Provider
>(949) 502-7819 x200 - kerryg at techdatapros.com
>http://www.techdatapros.com
>
>
>
>  
>
>>-----Original Message-----
>>From: asterisk-users-bounces at lists.digium.com 
>>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
>>Joao Pereira
>>Sent: Thursday, April 06, 2006 8:05 AM
>>To: asterisk-users at lists.digium.com
>>Subject: [Asterisk-Users] Asterisk behind NAT
>>
>>Hello to all
>>Can we put Asterisk in a company that has an ADSL connection 
>>with just one public IP address? Because with just one public 
>>IP, Asterisk must have a private (NATed) IP... but the idea 
>>is to make him dial other SIP domains.
>>
>>Can Asterisk work behing NAT, and still route calls to the Internet?
>>And he can still receive calls from the Internet?
>>
>>Thanks
>>Joao Pereira
>>_______________________________________________
>>--Bandwidth and Colocation provided by Easynews.com --
>>
>>Asterisk-Users mailing list
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>    
>>
>
>
>  
>




More information about the asterisk-users mailing list