After # Enables packet forwarding net.ipv4.ip_forward=1. Restart the machine or use the following command to activate it.