IP Forwarding Issues#

If IP forwarding is desired and is not working, then search for the line containing "net.ipv4.ip_forward":

grep net.ipv4.ip_forward /etc/sysctl.conf
grep net.ipv4.ip_forward /etc/sysctl.d/*

If that line exists and the assigned value is set to zero, then IP forwarding is disabled.

See Changing IP Addresses for details.