November 2017
Intermediate to advanced
226 pages
5h 59m
English
We can check the status of IP forwarding by checking the content in the following file:
cat /proc/sys/net/ipv4/ip_forward
If the output is 1, IP forwarding is enabled; and if it's 0, IP forwarding is disabled. If it's disabled, enable it as follows:
echo 1 > /proc/sys/net/ipv4/ip_forward
Read now
Unlock full access