<div>Sorry. It seems that I didn't illustrate what I mean correctly . I mean that it is appeared to me that my CentOS 5 server will support for NAT by default (as I checked it on VirtualBox) but after Asterisk & DECT installation it does not . Can you please let me know which settings maybe influenced and need to be double-checked ?</div>
<div>Thank you in advance</div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, Nov 23, 2009 at 7:54 AM, Barry Brimer <span dir="ltr"><<a href="mailto:lists@brimer.org">lists@brimer.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">> Dear All<br>> On my CentOS 5 , I installed the Asterisk 1.4.13 and DECT application<br>> software and then when I want to try for "NAT" I issue as the followings :<br>> #iptables -t nat -A POSTROUTING -s <a href="http://10.20.30.0/24" target="_blank">10.20.30.0/24</a> -o eth0 -j MASQUERADE<br>
> But it didn't get through . So I checked if the "NAT" is enabled on<br>> my CentOS server , as the followings :<br>> #echo "1" > /proc/sys/net/ipv4/ip_forward<br>> But still I cannot try for "NAT" . Can you please let me know which other<br>
> setings maybe influenced and need to be checked for enabling the "NAT" ?<br><br></div></div>You have your outgoing traffic NATed .. but you need a PREROUTING rule to<br>forward the traffic to your Asterisk server.<br>
_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>