Look in /etc/sysctl.conf and make sure the line

net.ipv4.ip_forward=1
is not commented out with a hash mark at the front of the line. If it is, remove the hash mark and reboot.

By default...