in /etc/sysctl change ip_foward to 1 instead of 0. restart network. You might be wondering what all these text files are for. If you have to ask, you need to read more.