Tamer Higazi
2009-Jan-29 11:01 UTC
[asterisk-users] Don't get asterisk to run behind NAT router
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 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
Dimitar Dimitrov
2009-Jan-29 13:52 UTC
[asterisk-users] Don't get asterisk to run behind NAT router
Hi Tamer Try to configure canreinvite=no or canreinvite=nonat. Regards Dimitar Tamer Higazi ??????:> 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 > 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2921 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090129/fe3a66f9/attachment.bin
Grygoriy Dobrovolskyy
2009-Jan-29 15:22 UTC
[asterisk-users] Don't get asterisk to run behind NAT router
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