How can i share internet connection?
create a file share_net.sh with the following content • !/bin/sh echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE You may have to change eth0 to eth1 if the internet cable plug in to your second ethernet card. If you are using Dialup connection replace -o eth0 with -o ppp0 in the last line. Execute this script as root on the server (where internet cable reaches) to share the net. connection.