Turn on IPv4 forwarding immediately.
Section: Netfilter and Policy Debugging
Enable IP forwarding
bash
bash
sudo sysctl -w net.ipv4.ip_forward=1Explanation
Turn on IPv4 forwarding immediately.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Netfilter and Policy Debugging