If you want to route packets from a network interface to another, you need to configure Linux to do so. When you want to configure several network interfaces in Linux so they can transit traffic from one interface to another, to share internet connection for example, then Linux must know how to do it.
The solution is to activate manually IP Forwarding. First, you need to verify if IP Forwarding is deactivated by typing this command:

 cat /proc/sys/net/ipv4/ip_forward

If the command returns the value 0, this means that IP Forwarding is deactivated. To activate it, type the following command:

echo 1 > /proc/sys/net/ipv4/ip_forward

Post a Comment