Successful!
after a long struggle at last I got the one step success...
I didn't install SQUID and decide to share internet via iptables either is it work or not...
I followed this link..
https://www.centos.org/modules/newbb...topic_id=42474
from there these commands works for me...
/sbin/iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
/sbin/iptables-save > /etc/sysconfig/iptables
/sbin/service iptables restart
I've also set ip_forward to 1 in two places...
echo 1 > /proc/sys/net/ipv4/ip_forward
and
sysctl -w net.ipv4.ip_forward=1
then restarted the centOS 6.4 server and I am done!
I am very happy but now I would like to install SQUID Proxy Binary Package and would configure it as transparent PROXY SERVER.thats what I want...