Enabling IP Forwarding

  1. In the /etc/sysctl.conf file, add the parameter net.ipv4.ip_forward=1
  2. Execute the command
    sudo sysctl -p
  3. Verify the IP_Forwarding using the command
    sysctl net.ipv4.ip_forward