[Asterisk-Users] Running Asterisk and NAT on the same box?

Tjardick van der Kraan tjardick at vanderkraan.net
Thu Oct 23 01:12:41 MST 2003


Hi Jean-Christophe,

Yes i think you do :)

If you put the canreinvite=no then * won't try to connect the two sip phones
together but indeed will behave as proxy taking in the outside stream and
passing it on to the phone on the inside and vice versa.

Greetings,

Tjardick

-- 
Tjardick van der Kraan
tjardick at vanderkraan.net

IAXtel: 1 700 344 0522
FWD: 26322
IPtel: 91331

----- Original Message ----- 
From: "Jean-Christophe Heger" <jcheger at acytec.com>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, October 22, 2003 6:43 PM
Subject: Re: [Asterisk-Users] Running Asterisk and NAT on the same box?


> Hi Tjardick,
>
> Do you mean that * will be used as a proxy by the way ? For the tests I
have
> made, Asterisk tries to put both phones in relation together. Did I
> understand right ?
>
> Jean-Christophe
>
> ----- Original Message ----- 
> From: "Tjardick van der Kraan" <tjardick at vanderkraan.net>
> To: <asterisk-users at lists.digium.com>
> Sent: Wednesday, October 22, 2003 6:14 PM
> Subject: Re: [Asterisk-Users] Running Asterisk and NAT on the same box?
>
>
> > Hi Steve,
> >
> > This is definately the way to go when you are dealing with NAT.
> >
> > I have simulair setups running like this myself and it works perfectly.
> >
> > Only think you need to do in the sip.conf entries is add
> >
> > canreinvite=no
> >
> > This will force any sip-calls from the outside to be routed thru *.
> >
> > Greetings,
> >
> > Tjardick
> >
> > -- 
> > Tjardick van der Kraan
> > tjardick at vanderkraan.net
> >
> > IAXtel: 1 700 344 0522
> > FWD: 26322
> > IPtel: 91331
> >
> >
> > ----- Original Message ----- 
> > From: "Steven M. Sokol" <ssokol at sokol-associates.com>
> > To: <asterisk-users at lists.digium.com>
> > Sent: Wednesday, October 22, 2003 5:22 PM
> > Subject: [Asterisk-Users] Running Asterisk and NAT on the same box?
> >
> >
> > > Has anyone tried installing * on a box with two eth interfaces which
is
> > > acting as a NAT box?  I have only one IP at this point and I would
like
> > > to get * working without all of the NAT issues.  My idea is to run *
on
> > > my gateway (which is also running the firewall and masquerade
services).
> > > All of my UAs (Grandstream + Xten X-LITE + gnophone) will be inside
the
> > > NAT screen, and will connect to the * using its PUBLIC (outside)
> > > address.
> > >
> > > Does this sound reasonable?
> > >
> > > Thanks,
> > >
> > > Steve
> > >
> > >
> > > _______________________________________________
> > > 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/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>





More information about the asterisk-users mailing list