[asterisk-users] Asterisk listens on all NICs

Steve Edwards asterisk.org at sedwards.com
Tue Feb 16 17:26:51 CST 2010


On Tue, 16 Feb 2010, Landy Landy wrote:

> I am puzzled and how asterisk listens to calls or connections from 
> clients. When I do a netstat -nat I don't see asterisk listening on port 
> 5060.

man netstat. See what -t means.

> Now, I'm testing a server with three network interfaces: two to the 
> internet doing load balancing and the other to our LAN. I would like 
> asterisk to only accept connections coming from our LAN but, can't find 
> where to configure this.
>
> I know I can do it with iptables and block incoming connections to ports 
> 5060-5070 from the internet but, wondering if it can be confiruged in 
> asterisk.

See http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf

Search for "bindaddr."

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list