[asterisk-users] Don't get asterisk to run behind NAT router

Grygoriy Dobrovolskyy megahohol at gmail.com
Thu Jan 29 09:22:05 CST 2009


You enabled port forwarding, but have you actually forwarded any ports ?
Defaults are
tcp 5060
udp 10000-20000

2009/1/29 Tamer Higazi <th982a at googlemail.com>

> Hi people!
> I am not getting smart getting asterisk 1.6  behind a NAT to run.
>
> 1. I enabled IP forwarding on debian linux
> 2. told asterisk in "general" that he is behind NAT and mentioned him
> his external static IP Adress as well his domain in the outside world.
>
> If a client who is connected with a DSL modem calls me, a grandstream
> module in the LAN behind the router, in the same network asterisk is
> running at, takes the call. but we can't hear / talk with each other.
>
>
> Ay ideas to get this thing solved?!
>
>
>
> My general section in sip.conf:
>
> [general]
> port=5060
> bindaddr=0.0.0.0
> localnet=192.168.1.0/255.255.255.0
> externip=85.183.112.3
> externhost=voipfax.higazi-it.com<http://192.168.1.0/255.255.255.0externip=85.183.112.3externhost=voipfax.higazi-it.com>
> allowtransfer=yes
> qualify=yes
> nat=yes
>
> [2006]
> type=friend
> secret=frank
> host=dynamic
> context=nurintern
> nat=no
>
> [2007]
> type=friend
> secret=jochen
> host=192.168.1.2
> context=nurintern
> nat=yes
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090129/3b0683c2/attachment.htm 


More information about the asterisk-users mailing list