[Asterisk-biz] Linksys PAP2 behind NAT

Andy Kuo akuoca at gmail.com
Wed Sep 7 10:32:52 MST 2005


---------- Forwarded message ----------
From: Andy Kuo <akuoca at gmail.com>
Date: Sep 7, 2005 10:30 AM
Subject: Re: [Asterisk-biz] Linksys PAP2 behind NAT
To: Billy Huddleston <billy at nxs.net>

The key is...
 in sip.conf
nat=yes
 in PAP2 SIP setting... (see Waldo's advice)
 Handle VIA received: Yes
Handle VIA rport: Yes
Insert VIA received: Yes
Insert VIA rport: Yes
PAP2 NAT setting...
 NAT Mapping Enable: Yes
NAT Keep Alive Enable: Yes
NAT Keep Alive Msg: $NOTIFY
NAT Keep Alive Dest: $PROXY
 see Waldo's advice for more detail.
 Again, thank you all.
AK

 On 9/7/05, Billy Huddleston <billy at nxs.net> wrote: 
> 
> What did you end up doing?
> 
> ----- Original Message -----
> From: "Andy Kuo" < akuoca at gmail.com>
> To: "Waldo Rubinstein" <waldo at trianet.net>
> Cc: "Commercial and Business-Oriented Asterisk Discussion"
> < asterisk-biz at lists.digium.com>; "Billy Huddleston" <billy at nxs.net>
> Sent: Wednesday, September 07, 2005 1:06 PM
> Subject: Re: [Asterisk-biz] Linksys PAP2 behind NAT 
> 
> 
> Hi,
> It's working now.
> Thank you all for your great help:)
> AK
> 
> On 9/6/05, Waldo Rubinstein <waldo at trianet.net> wrote:
> >
> > I am using about 50 PAP2 behind a NAT to connect to an Asterisk server 
> > behind a different NAT with no problems and no NAT helpers.
> > I have in sip.conf
> > canreinvite=yes
> > nat=route
> >
> > Then follow the NAT configuration settings in the PAP2's web
> > configuration. If I recall correctly, this is what you need to do: 
> > 1) Make sure to login with Admin rights (click Admin Login on upper 
> right)
> > 2) Click on Line 1
> > 3) Click on Advanced View
> > 4) Click on SIP
> > 5) Under the "NAT Support Parameters" section, make sure to have the 
> > following values:
> >
> > Handle VIA received: Yes
> > Handle VIA rport: Yes
> > Insert VIA received: Yes
> > Insert VIA rport: Yes
> > Substitute VIA Addr: No
> > Send Resp To Src Port: No 
> > STUN Enable: No
> > STUN Test Enable: No
> > STUN Server:
> > EXT IP:
> > EXT RTP Port Min:
> > NAT Keep Alive Intvl: 15
> >
> > 6) Click on Save Settings and wait for router to reboot 
> > 7) Click on Line 1
> > 8) Under the "NAT Settings" section, make sure to have the following
> > values:
> >
> > NAT Mapping Enable: Yes
> > NAT Keep Alive Enable: Yes
> > NAT Keep Alive Msg: $NOTIFY 
> > NAT Keep Alive Dest: $PROXY
> >
> > 9) Click on Save Settings and wait for router to reboot
> > 10) Repeat steps 7-9 for Line 2, if applicable
> >
> > Note, these settings work for me. Also, note that this information only 
> > refers to the NAT configuration and not the SIP settings.
> >
> > Hope this helps.
> >
> > Waldo
> >
> > On Sep 6, 2005, at 5:35 PM, Andy Kuo wrote:
> >
> > Can you recommend some good sources of info for STUN server? 
> > Thanks.
> >
> > On 9/6/05, Billy Huddleston <billy at nxs.net> wrote:
> > >
> > > You need to use a STUN server..
> > >
> > > ----- Original Message ----- 
> > > From: "Andy Kuo" < akuoca at gmail.com>
> > > To: <asterisk-biz at lists.digium.com>
> > > Sent: Tuesday, September 06, 2005 5:13 PM 
> > > Subject: [Asterisk-biz] Linksys PAP2 behind NAT
> > >
> > >
> > > Hi,
> > > Does anyone know how to make PAP2 work behind NAT routers?
> > > I can get my PAP2 (192.168.1.x) to register to my Asterisk (on public 
> > > IP),
> > > and that's about it. Everything else beyond registration is not 
> working.
> > >
> > > I am sure it can be done somehow. Can anyone please help?
> > > Thanks.
> > > Andy 
> > >
> > >
> > >
> > >
> > > 
> --------------------------------------------------------------------------------
> > >
> > >
> > > > _______________________________________________ 
> > > > Asterisk-Biz mailing list
> > > > Asterisk-Biz at lists.digium.com
> > > > http://lists.digium.com/mailman/listinfo/asterisk-biz
> > > >
> > >
> > >
> > _______________________________________________
> > Asterisk-Biz mailing list
> > Asterisk-Biz at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-biz
> >
> >
> >
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20050907/c24797e7/attachment.htm


More information about the asterisk-biz mailing list