thanks shekhar but I am not sure: will this work when the connection is through eth1, which is connected to the cable modem ? I mean eth1 is the default gateway when system is not connected with dial up mind it I cannot check since the machine I installed is 75Km away and I am not able to go there with out getting a confirmed system.
But I will check it as soon as the local admin has come online jiju ----- Original Message ----- > Make sure u r able to resolve names from client PCs. > > 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 > > U can specify as ppp0 default gateway when conneted in your dial up settings. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
