Ip Forwarding is needed when your server acts as an access point or to route traffic from one network to another.
echo 1 > /proc/sys/net/ipv4/ip_forward echo 0 > /proc/sys/net/ipv4/ip_forward