Set a sysctl parameter

Turn on IP forwarding right now. To keep it after a reboot, also add it to /etc/sysctl.d/.

sysctl -w net.ipv4.ip_forward=1

tool
linux133 commands
tags
linuxkernelnetwork

More linux commands

all 133 linux commands