I'm trying to set up * server behind NAT. The box is set up as DMZ in my DSL router, i.e. all incoming connections without explicit port mapping are forwarded to *. So far I'm unable to get this setup to work for either IAX or SIP (tried IAXComm & XLite softphones on public IP address). Data seems to come in fine (IAX/SIP debug shows message interaction taking place), but there is no audio. Am I missing something in */router setup or such thing cannot be done? I suspect that I need to override local IP address being sent out in SIP/IAX packets, but I see no such option in either iax.conf or sip.conf TIA, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031027/a3effa43/attachment.htm
Peter Zeltins wrote:> I'm trying to set up * server behind NAT. The box is set up as DMZ in > my DSL router, i.e. all incoming connections without explicit port > mapping are forwarded to *. So far I'm unable to get this setup to > work for either IAX or SIP (tried IAXComm & XLite softphones on public > IP address). Data seems to come in fine (IAX/SIP debug shows message > interaction taking place), but there is no audio. > > Am I missing something in */router setup or such thing cannot be done? > I suspect that I need to override local IP address being sent out in > SIP/IAX packets, but I see no such option in either iax.conf or sip.conf > > TIA, > PeterThe Asterisk server MUST be on a public IP for it to work.. Only SIP UA's can be made to function behind NAT.. Later..
IAX should work well behind NAT without further configuration than just a single port forward. RTP based protocols such as MGCP, SIP and H.323 require helper agents on the NAT box to work, although SIP can be forced to work by slightly breaking it. roy On Mon, 2003-10-27 at 10:00, Peter Zeltins wrote:> I'm trying to set up * server behind NAT. The box is set up as DMZ in > my DSL router, i.e. all incoming connections without explicit port > mapping are forwarded to *. So far I'm unable to get this setup to > work for either IAX or SIP (tried IAXComm & XLite softphones on public > IP address). Data seems to come in fine (IAX/SIP debug shows message > interaction taking place), but there is no audio. > > Am I missing something in */router setup or such thing cannot be done? > I suspect that I need to override local IP address being sent out in > SIP/IAX packets, but I see no such option in either iax.conf or > sip.conf > > TIA, > Peter