I have PCLinuxOS as my host and share to two other PC's running PCLinuxOS and 1 PC running Windows XP all through a router, thought I would add this as it helped me alot even if it is a little bit late, after all *better late than never*
ICS with PCLinuxOS as the host:
Flush and delete existing firewall rules:
iptables -F
iptables -t nat -F
iptables -t mangle -F
Delete the chains:
iptables -X
iptables -t nat -X
iptables -t mangle -X
Save IP Tables Rules:
service iptables save
service iptables restart
scite /etc/rc.d/rc.local
insert echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
service iptables save
service iptables restart
# ^^ppp0 is my default internet connection, change with yours if not the same.
Make sure IP tables are set:
chkconfig --list iptables
make sure either level 5 or level 2,3,4,5 are on
Set Linux Host IP:
192.168.0.1
netmask
255.255.255.0
Set Client IP's
192.168.0.x
netmask
255.255.255.0
gateway
192.168.0.1
You should be good to go on the other PC's.
*Note Depending on your ISP and setup, you might need to add your ISP's primary and secondary DNS entries for the other computers on the network or use opendns.