Adrian Carter
2006-Mar-12 22:54 UTC
[Asterisk-Users] Multiple IAX clients behind a firewall
Hi all, I've searched the wiki, and my basic assumption at this point is to run multiple IAX clients behind NAT I need to specifically code each client to use a different port and then setup that port to be forwarded from the NAT router to their private IP address. At the moment, I can't seem to get more than one IAX client registered behind NAT... am I correct in my above assumption or have I missed something ? -- Adrian Carter Technical Manager Leading Edge Internet Web http://www.lei.net.au http://support.lei.net.au Direct +61 2 6163 6162 Support 1 300 662 415 E-mail cartera@lei.net.au
Wilson Pickett
2006-Mar-13 01:31 UTC
[Asterisk-Users] Multiple IAX clients behind a firewall
> At the moment, I can't seem to get more than one IAX client > registered behind NAT... am I correct in my above assumption or have I > missed something ?I've used multiple hardware IAX phones behind NAT without a problem.
On 13 Mar 2006, at 05:54, Adrian Carter wrote:> Hi all, > I've searched the wiki, and my basic assumption at this point is > to run multiple IAX clients behind NAT I need to specifically code > each client to use a different port and then setup that port to be > forwarded from the NAT router to their private IP address. > > At the moment, I can't seem to get more than one IAX client > registered behind NAT... am I correct in my above assumption or > have I missed something ?No, asterisk's iax treats the combination of apparent-ip-address and port as unique. So in fact you do best to turn off any port forwarding. That way your NAT device will allocate different ports for each client, sharing the same IP address. This works because IAX re-registers (or qualifies) the connection every 60 seconds, which is enough to keep the mapping in most NATing router's caches. Tim Panton tim@mexuar.com
Hagen Rode
2006-Mar-13 03:01 UTC
[Asterisk-Users] RE: Multiple IAX clients behind a firewall
In two cases we've had more than one IAX client work from behind the NAT. Recently however, behind a different NAT, there was a case where only one client could connect. So maybe it depends on the router? I'm really hoping that it will be able to connect in more cases than not and am looking forward to seeing what others respond to this question. Hagen>Hi all, > I've searched the wiki, and my basic assumption at this point is to >run multiple IAX clients behind NAT I need to specifically code each >client to use a different port and then setup that port to be forwarded >from the NAT router to their private IP address. > > At the moment, I can't seem to get more than one IAX client >registered behind NAT... am I correct in my above assumption or have I >missed something