You're on the right track by enabling net.ipv4.ip_forward, but if packets are still not being forwarded, there are several other things you need to check.