Set up Network Address Translation
From LinuxIntro
To set up NAT (network address translation), open a console and enter
echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
To set up NAT (network address translation), open a console and enter
echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE