[asterisk-users] NAT

Tom Rymes trymes at cascadelinksystems.com
Tue Jun 5 11:47:52 CDT 2007


On Jun 5, 2007, at 9:46 AM, Cosmin Prund wrote:

>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
>> bounces at lists.digium.com] On Behalf Of Henry Cobb
>> Sent: Tuesday, June 05, 2007 4:30 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: Re: [asterisk-users] NAT
>>
>> On 6/5/07, Iban Lopetegi Zinkunegi <lopetaz at hotmail.com> wrote:
>>> Hi All!!
>>>
>>> I have my asterisk working in my house (working with mandriva 2007
>> and
>>> asterisk 1.4 svn). I´ve looking on the net but i couldn´t find the
>> way of
>>> making work my asterisk in a real enviroment. Seems that the problem
>> of NAT
>>> is a big problem. How can I sort out this, a mean crossing the NAT
>> and
>>> having asterisk connected?
>>
>> If you want to receive calls and not just place them and you have a
>> broadband connection with a dynamic IP then your server must register
>> with the VoIP provider and I suggest using IAX with the proper UDP
>> port assigned to your Atrisk server.
>>
>> -HJC

> NAT is not that big of a problem, not anymore.
> Do a "NAT" search on http://www.voip-info.org - it'll get you  
> started (got me started at least)
>
> --
> Cosmin Prund

Specifically, you need to set the following in sip.conf (if applicable)

nat=
localnet=
externip=
externhost=

You also need to configure your router to forward port 5060 and ports  
10000-20000 to your asterisk server.

Tom


More information about the asterisk-users mailing list