<div>ja tentou isso no sip.conf </div>
<div> </div>
<div> </div>
<div>externip=200.x.x.x.x.<br>localnet=<a href="http://192.168.253.0/255.255.255.0">192.168.253.0/255.255.255.0</a><br><br></div>
<div class="gmail_quote">2009/4/30 Otavio - Smart Computadores <span dir="ltr"><<a href="mailto:otavio@smartcomputadores.com.br">otavio@smartcomputadores.com.br</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="PT-BR" bgcolor="white" vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">IPS internos e externos aonde ??? heheheh</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">De:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a> [mailto:<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b><span style="FONT-WEIGHT: bold">Em nome de </span></b>leonardo<br>
<b><span style="FONT-WEIGHT: bold">Enviada em:</span></b> quinta-feira, 30 de abril de 2009 08:37<br><b><span style="FONT-WEIGHT: bold">Para:</span></b> <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank">asteriskbrasil@listas.asteriskbrasil.org</a><br>
<b><span style="FONT-WEIGHT: bold">Assunto:</span></b> Re: [AsteriskBrasil] Ajuda NAT</span></font></p></div>
<div>
<div></div>
<div class="h5">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Vc definiu os ips externos e internos?</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<blockquote style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message ----- </span></font></p></div>
<div>
<p style="BACKGROUND: #e4e4e4"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <a title="otavio@smartcomputadores.com.br" href="mailto:otavio@smartcomputadores.com.br" target="_blank">Otavio - Smart Computadores</a> </span></font></p>
</div>
<div>
<p><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <a title="asteriskbrasil@listas.asteriskbrasil.org" href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank">asteriskbrasil@listas.asteriskbrasil.org</a> </span></font></p>
</div>
<div>
<p><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Thursday, April 30, 2009 8:21 AM</span></font></p>
</div>
<div>
<p><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> [AsteriskBrasil] Ajuda NAT</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Amigos, vê se alguém me da uma luz ....</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">To com o * atrás de um firewall ... e quando uso algum ramal externo num vai NEM A PORRETE ....</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">A comunicação de ring e outras funções básicas funciona ... porem a voz NÃO VAI ....( na rede interna vai que é uma beleza ) ....</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Já fiz o redirecionamento de TODAS as portas no meu firewall ficou assim:</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -A INPUT -p UDP -i eth1 --dport 5060 -j ACCEPT</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -A INPUT -p TCP -i eth1 --dport 5060 -j ACCEPT</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -A INPUT -p UDP -i eth1 --dport 10000:20000 -j ACCEPT</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -A INPUT -p UDP -i eth1 --dport 5060:5082 -j ACCEPT</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -t nat -A PREROUTING -p TCP -i eth1 --dport 5060 -j DNAT --to 192.168.0.5</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -t nat -A PREROUTING -p UDP -i eth1 --dport 5060 -j DNAT --to 192.168.0.5</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -t nat -A PREROUTING -p UDP -i eth1 --dport 10000:20000 -j DNAT --to 192.168.0.5</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -t nat -A PREROUTING -p UDP -i eth1 --dport 5060:5082 -j DNAT --to 192.168.0.5</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">iptables -t nat -A POSTROUTING -p UDP -o eth1 -s 192.168.0.5 -j MASQUERADE</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">no sip.conf TODOS as extensões estão com o Nat=yes …</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Alguém tem alguma luz pra me dar ?</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Abraço a Todos...</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Otavio – Smart Computadores.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">F. (14) 3313-6510</span></font></p>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">_______________________________________________<br>Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.<br>
<a href="http://www.neodroid.com/" target="_blank">http://www.neodroid.com</a><br><br>Compre uma camiseta da AsteriskBrasil.org!<br><a href="http://www.voipmania.com.br/" target="_blank">http://www.voipmania.com.br</a><br>
<br>Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br>_______________________________________________<br>Lista de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org" target="_blank">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a> </span></font></p>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br>Nenhum vírus encontrado nessa mensagem recebida.<br>Verificado por AVG - <a href="http://www.avgbrasil.com.br/" target="_blank">www.avgbrasil.com.br</a> <br>
Versão: 8.0.238 / Banco de dados de vírus: 270.12.9/2087 - Data de Lançamento: 04/29/09 18:03:00</span></font></p></blockquote></div></div></div></div><br>_______________________________________________<br>Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.<br>
<a href="http://www.neodroid.com/" target="_blank">http://www.neodroid.com</a><br><br>Compre uma camiseta da AsteriskBrasil.org!<br><a href="http://www.voipmania.com.br/" target="_blank">http://www.voipmania.com.br</a><br>
<br>Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br>_______________________________________________<br>Lista de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br></blockquote></div><br>