[asterisk-users] Routers that do not show external IPs...

Carlos Chavez cursor at telecomabmex.com
Thu Oct 14 12:46:25 CDT 2010


On Fri, 2010-10-15 at 18:35 +0200, Josef Grand wrote:
> use dyndns in your router
> and put the domain name in externhost
> and by sure to configure your localnetwork in sip.conf
> 
> 
	You are missing the point completely.  Maybe I did not explain myself
clearly.  The problem is that when you connect to the server from
outside the network (Internet), Asterisk does not see the IP address of
the device, it thinks the device is connecting from the IP address of
the router itself (192.168.X.X).  This means that even if you have
externip, nat=yes and localnet configured properly, Asterisk will think
that the phone is on the internal network (because of localnet) and will
NOT use the external IP address to communicate with the external phone.

	This is not a problem with Asterisk.  The router rewrites all external
connections with its own IP so even a SSH connection will seem to be
coming from the router (the 'w' command will say you are connected from
the router and not from the IP address of your Internet connection).

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101014/7b7cb54d/attachment.pgp 


More information about the asterisk-users mailing list