Dear All On my CentOS 5 , I installed the Asterisk 1.4.13 and DECT application software and then when I want to try for "NAT" I issue as the followings : #iptables -t nat -A POSTROUTING -s 10.20.30.0/24 -o eth0 -j MASQUERADE But it didn't get through . So I checked if the "NAT" is enabled on my CentOS server , as the followings : #echo "1" > /proc/sys/net/ipv4/ip_forward But still I cannot try for "NAT" . Can you please let me know which other setings maybe influenced and need to be checked for enabling the "NAT" ? Thank you in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091123/af3b3d85/attachment-0003.html>
> Dear All > On my CentOS 5 , I installed the Asterisk 1.4.13 and DECT application > software and then when I want to try for "NAT" I issue as the followings : > #iptables -t nat -A POSTROUTING -s 10.20.30.0/24 -o eth0 -j MASQUERADE > But it didn't get through . So I checked if the "NAT" is enabled on > my CentOS server , as the followings : > #echo "1" > /proc/sys/net/ipv4/ip_forward > But still I cannot try for "NAT" . Can you please let me know which other > setings maybe influenced and need to be checked for enabling the "NAT" ?You have your outgoing traffic NATed .. but you need a PREROUTING rule to forward the traffic to your Asterisk server.
Seemingly Similar Threads
- Inquiry:Problem in installing Asterisk 1.4.13 on my Debian 3.1 server
- Inquiry:Problem in mounting external cdrom
- Inquiry:How to check for IP conflict on my CentOS server?
- Inquiry:Where to download Asterisk 1.4.13 for Debian server?
- Inquiry:How to convert *.wav files ?