The kernel run-time parameters can be listed with:
sysctl -aIn order to change a setting temporarily:
sysctl net.ipv4.ip_forward=1In order to make the changes permanent you need to edit the /etc/sysctl.conf file. Simply add the value you want, e.g. net.ipv4.ip_forward=1, save it and then issue the following command:
or
echo 1 > /proc/sys/net/ipv4/ip_forward
sysctl -p
No comments:
Post a Comment