[Asterisk-Users] Re: Asterisk behind NAT << How to do it. (Leif Madsen)

Darren McIntosh dmcintosh at optushome.com.au
Mon Dec 1 03:52:24 MST 2003


> I'm pretty sure that is incorrect.  The inside_net is the ip address of
> the asterisk server, and the inside_mask is the subnet mask.  At least
> that is how I have mine setup in my sip.conf, and it works.
>
> inside_mask for the internal mask would make more sense to me as well :)
>
> -- 
> Leif Madsen <leif at hacklocalhost.com>
> http://www.hacklocalhost.com

In my configuration I have internal SIP clients registering from
192.168.0.0/28 and my * address is at 192.168.0.100. Using the host address
of the * box as the inside_net variable the audio from 192.168.0.0/28 was
sent to the outside_addr variable giving one-way speech. Setting
internal_net to the subnet address of 192.168.0.0 and inside_mask to
255.255.255.0 the call behaved correctly.

darren




More information about the asterisk-users mailing list