[asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Landy Landy
Hello List. 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. 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

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread C. Chad Wallace
At 2:50 PM on 16 Feb 2010, Landy Landy wrote: Hello List. 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. Now, I'm testing a server with three network interfaces: two to the internet doing

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Steve Edwards
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

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Philipp von Klitzing
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. That is because you need to do 'netstat -nau'. Only very recently Asterisk has learned to do SIP over TCP. Philipp --

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Philipp von Klitzing
Hi! 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. Iptables would be the right place, though. Still: Look at 'permit'/'deny' in sip.conf, or use dialplan magic to check on IP addresses

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Warren Selby
On Tue, Feb 16, 2010 at 5:26 PM, Steve Edwards asterisk@sedwards.comwrote: See http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf Search for bindaddr. -- Thanks in advance, - Steve Edwards

Re: [asterisk-users] Asterisk listens on all NICs

2010-02-16 Thread Landy Landy
See http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf Search for bindaddr. Or udpbindaddr for 1.6.2+...also, tcpbindaddr, tlsbindaddr if you plan on adding TCP/TLS SIP support to asterisk. Thanks to everyone who replied for clarifying. --