# cat /proc/sys/net/ipv4/ip_forward
If the output is 0, then IP forwarding is not enabled. If the output is 1, then IP forwarding is enabled
If your output is 0, you can enabled it by running the command
# echo 1 > /proc/sys/net/ipv4/ip_forwardRunning the command cat /proc/sys/net/ipv4/ip_forward and it should show 1
For more information, do look at the article Installing and configuring a Linux gateway
No comments:
Post a Comment