[asterisk-users] Asterisk behind D-Link ADSL router with private IP

Gordon Henderson gordon+asterisk at drogon.net
Sun Nov 21 06:09:13 CST 2010


On Sun, 21 Nov 2010, gmail wrote:

> i have this configuration , An Asterisk server connected to my private 
> LAN 192.168.10.0/24 when i do port forwarding for port 5060 so that i 
> make a call from Internet into Asterisk wireshark show the message 
> "destintion port unrechable"
>
> i configured sip.conf for "nat=yes" and "qualify=yes" and "externip="my public IP"

localnet=???/???

> did i forget some other ports to forward otherthan 5060?

10000-20000 for RTP.

Also make sure you're forwarding UDP not TCP.

> did i forget any other configurations?
>
> i even tried the "virtual server" function in my D-Link 2640U ADSL 
> router with no hope

Make sure it's SIP ALG is turned off. It's yet another router with a 
broken SIP ALG )-:

Gordon



More information about the asterisk-users mailing list