How to to turn your linux machine into router

Quote

How to to turn your linux machine into router so that it can forward requests

 

Quote

You can turn your linux machine to work as router by enabling IPv4 forwarding under /etc/sysctl.conf
net.ipv4.ip_forward = 1 and then run sysctl -p to apply the changes.

Quote

Thanks it worked