[asterisk-users] Re: Asterisk behind NAT

Vincent vincent.delporte at bigfoot.com
Wed May 23 18:06:22 MST 2007


On Wed, 23 May 2007 10:43:04 -0400, in
gmane.comp.telephony.pbx.asterisk.user you wrote:
>Has anyone implemented Asterisk behind D-Link Router?
>Got one pain in butt customer who wants to setup * system behind D-Link 
>router model DI-624?

------------------------ sip.conf:
[general]
externip = the_public_IP_address
localnet=192.168.0.0/255.255.255.0
nat=yes
canreinvite=no
qualify=yes

[account_for_local_sip_device]
[200]
type=friend
secret=test
nat=no
host=dynamic
context=mycontext

[account_for_remotel_sip_device]
[201]
type=friend
secret=test
nat=yes
host=dynamic
context=mycontext

------------------------ rtp.conf
Choose beginning and end of range for RTP ports

------------------------ on local NAT router
Open UDP5060 and the RTP range per above, and forward packets to the
Asterisk server.

HTH,


More information about the asterisk-users mailing list