Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sysctl

Commands

CommandDescription
sysctl -p /etc/sysctl.confenable changes/configs from /etc/sysctl.conf
sysctl -w net.ipv4.ip_forward=1enable ipv4 forward
echo 1 > /proc/sys/net/ipv4/ip_forwardalso enable ipv4 forward