<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
dê uma olhada em http://asteriskadmins.ning.com<br><br>eu postei o tutorial de como liberar o asterisk quando se está atrás de um firewall.<br><br>abraços!!<br><br> <br>
<br>
att,<br>
<strong><font size="4">Fellipe Pinheiro</font></strong><br>
E-mail / MSN: fellipe_pinheiro@hotmail.com<br>
Skype: fellipe_ps<br><br><br><br><br><hr id="stopSpelling">From: otavio@smartcomputadores.com.br<br>To: asteriskbrasil@listas.asteriskbrasil.org<br>Date: Thu, 30 Apr 2009 08:44:58 -0300<br>Subject: [AsteriskBrasil] RES: Ajuda NAT<br><br>
<style>
.ExternalClass .EC_shape
{;}
</style>
<style>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass span.EC_EstiloDeEmail17
{font-family:Arial;color:navy;}
.ExternalClass span.EC_EstiloDeEmail19
{font-family:Arial;color:navy;}
@page Section1
{size:595.3pt 841.9pt;}
.ExternalClass div.EC_Section1
{page:Section1;}
</style>
<div class="EC_Section1">
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">IPS internos e externos aonde ??? heheheh</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div class="EC_MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p class="EC_MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
asteriskbrasil-bounces@listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <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> asteriskbrasil@listas.asteriskbrasil.org<br>
<b><span style="font-weight: bold;">Assunto:</span></b> Re: [AsteriskBrasil]
Ajuda NAT</span></font></p>
</div>
<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p class="EC_MsoNormal"><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 class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color black; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt; margin-left: 3.75pt; margin-right: 0cm; margin-bottom: 5pt;">
<div>
<p class="EC_MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">----- Original Message ----- </span></font></p>
</div>
<div style="">
<p class="EC_MsoNormal" style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">From:</span></font></b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <a href="mailto:otavio@smartcomputadores.com.br" title="otavio@smartcomputadores.com.br">Otavio - Smart Computadores</a> </span></font></p>
</div>
<div>
<p class="EC_MsoNormal"><b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">To:</span></font></b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" title="asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a>
</span></font></p>
</div>
<div>
<p class="EC_MsoNormal"><b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">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 class="EC_MsoNormal"><b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">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 class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Amigos, vê se alguém me da uma luz ....</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">To com o * atrás de um firewall ... e
quando uso algum ramal externo num vai NEM A PORRETE ....</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">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 class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Já fiz o redirecionamento de TODAS as
portas no meu firewall ficou assim:</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -A INPUT -p UDP
-i eth1 --dport 5060 -j ACCEPT</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -A INPUT -p TCP
-i eth1 --dport 5060 -j ACCEPT</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -A INPUT -p UDP
-i eth1 --dport 10000:20000 -j ACCEPT</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -A INPUT -p UDP
-i eth1 --dport 5060:5082 -j ACCEPT</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -t nat -A
PREROUTING -p TCP -i eth1 --dport 5060 -j DNAT --to 192.168.0.5</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -t nat -A
PREROUTING -p UDP -i eth1 --dport 5060 -j DNAT --to 192.168.0.5</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -t nat -A
PREROUTING -p UDP -i eth1 --dport 10000:20000 -j DNAT --to 192.168.0.5</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -t nat -A
PREROUTING -p UDP -i eth1 --dport 5060:5082 -j DNAT --to 192.168.0.5</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">iptables -t nat -A
POSTROUTING -p UDP -o eth1 -s 192.168.0.5 -j MASQUERADE</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">no sip.conf TODOS as extensões estão com o
Nat=yes …</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Alguém tem alguma luz pra me dar ?</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Abraço a Todos...</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Otavio – Smart Computadores.</span></font></p>
<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">F. (14) 3313-6510</span></font></p>
<div class="EC_MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p class="EC_MsoNormal"><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>
http://www.neodroid.com<br>
<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
http://www.voipmania.com.br<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>
AsteriskBrasil@listas.asteriskbrasil.org<br>
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil </span></font></p>
<div class="EC_MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Nenhum vírus encontrado nessa mensagem recebida.<br>
Verificado por AVG - www.avgbrasil.com.br <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><br /><hr />Quer saber qual produto Windows Live combina melhor com o seu perfil? <a href='http://www.windowslive.com.br' target='_new'>Clique aqui e descubra!</a></body>
</html>