[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 ___ -- 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
Re: [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 smime.p7s Description: S/MIME Cryptographic Signature ___ -- 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
Re: [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 1-2 2009/1/29 Tamer Higazi th9...@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.comhttp://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 ___ -- 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