[Asterisk-Users] SIP + NAT Howto?

C. Johnson javadude at cedrick.net
Fri Sep 19 15:10:39 MST 2003


Yep.. You are right...

Hmm

It is sending the SIP client 10.xx.xx.15 which is the local IP addr
somewhere
else.. darnit.

From: "asterisk" <sip:asterisk at 10.xx.xx.15>;tag=as3aff06a5
To: <sip:2000 at 67.xx.xx.146>
Contact: <sip:asterisk at 10.xx.xx.15>


Ok, so now, I guess my network layout has to be this:

Client				Server

XTEN <--> */Firewall(NAT) <---IAX---> Firewall(NAT)/*


More reading to do now :)


Thanks fellas

-cj




> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com 
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of 
> Stephen Varga
> Sent: Friday, September 19, 2003 3:37 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] SIP + NAT Howto?
> 
> 
> I am new to * and I have been attempting to solve this same 
> issue, but have come to the conclusion that they only way to 
> make it work is for * to have a real reachable IP address or 
> place another * box at the second site and use IAX trunking. 
> This second * box, unfortunately is unsuitable for my 
> scenario, but it may work in yours.
> 
> The issue is created by the fact that the *'s real ip address 
> is in the SDP information in the INVITE, usually this address 
> is not directly reachable from the second site.
> 
> When the XTEN actually tries to send the RTP data to this 
> address it either dies in the network or gets an ICMP 
> Destination Unreachable message, either way you don't have a 
> two conversation.
> 
> Side note: If you put the * on the "outside" the XTEN phones 
> will have to have different RTP ports to avoid call conflicts.
> 
> HTH and maybe somebody has away for this to actually work.
> 
> Steve
> 
> On Fri, 2003-09-19 at 16:11, C. Johnson wrote:
> > Hello Folks-
> > 
> > Pretty new to the list here, got a lot of reading to do.. 
> Does anyone 
> > know where I can find a decent HOWTO or set of instructions for 
> > running Asterisk and SIP clients thru firewall/NAT systems?
> > 
> > I have a Asterisk box sitting behind a linux firewall at a remote 
> > location and have the 5060 and etc ports open as well at 
> 16381-16391 
> > UDP open and
> > routed to the Asterisk box as well. I have a bunch of clients at
> > another
> > location which are also sitting behind a Linux ipchains/tables
> > firewall
> > 
> > 
> > So far, I'm able to get the clients (Xten Lite) to ring each
other, 
> > but they ring, and one will say it's connected, while the other
one 
> > just hangs up.
> > 
> > 
> > -cj
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com 
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> 




More information about the asterisk-users mailing list