~/blog/enable-ip-forwarding

Enable IP Forwarding

1 min read Linux

Check if IP Forwarding is enabled ?

cat /proc/sys/net/ipv4/ip_forward

if you see the value 0 this was Disable. Edit from 0 to 1 for Enable with the command below

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

Load

sysctl -f

Restart the network service

service network restart