[Asterisk-Users] Asterisk behind NAT
Alex Vishnev
avishnev at optonline.net
Fri Apr 15 06:04:55 MST 2005
Try setting externip=(asterisk public ip address)
Hth
Alex
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Oswaldo
Arratia
Sent: Friday, April 15, 2005 12:56 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Asterisk behind NAT
Hi List,
I've spent hours researching on this topic, found tons of info, so far it
doesn't work yet.
Here's the scenario
Asterisk box connected to a router (DMZ enabled to Asterisk) and trying to
send calls to an outside provider.
My SIP phones (outside * NAT) are able to register with no problem.
The problem comes when I send a call out to my provider I get no audio in
either way. My provider sees only my private IP. How can I send my provider
the public IP??
I have in my sip.conf:
[general]
port=5060 ; UDP Port to bind to (SIP standard port is
5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to
all)
nat=yes
externip = x.x.x.x
localnet=192.168.1.0/24
(remember I enabled DMZ on the router so all ports are being forwarded to *)
Despite of what I do, the externip and the localnet my provider only gets my
* private IP.
Any tip how to solve this??
Thanks!!!!
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list