[Techtalk] Problem in NAT

Mohammad Shakir shakirz1 at hotmail.com
Wed Nov 13 20:32:19 EST 2002


Dear Friends,

To enable NAT on my network I have setup this in iptables


echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables --flush
/sbin/iptables --table nat --flush
/sbin/iptables --delete-chain
/sbin/iptables --table nat --delete-chain
/sbin/iptables --table nat --append POSTROUTING --out-interface ppp0 -j 
MASQUERADE
/sbin/iptables --append FORWARD --in-interface eth0 -j ACCEPT


Every thing is running fine, but sometime MSN messenger get disconnect or 
its take alot time to connect.

So I want to know, is there any mistake in my this script or its my ISP 
problem.

Thanks

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Techtalk mailing list