Feb 18, 2002 #1 capitano Programmer Jul 30, 2001 88 US I'm setting up a Linux router. I've done: echo 1 > /proc/sys/net/ipv4/ip_forward but when I reboot, this value goes back to 0. How do I make the changes stick? Thanks, Bryan C.
I'm setting up a Linux router. I've done: echo 1 > /proc/sys/net/ipv4/ip_forward but when I reboot, this value goes back to 0. How do I make the changes stick? Thanks, Bryan C.
Feb 18, 2002 #2 ifincham IS-IT--Management Jul 11, 2001 1,768 GB Hi, The obvious thing is to put that line into the /etc/rc.d/rc.local (on redhat, mandrake, and maybe others) or equivalent start-up file. There is also a setting in /etc/sysconfig/network that does the same thing (IP_FORWARD) . Remember, the /proc filesystem is just a virtualisation of kernel memory and doesn't exist on disk, nor persist across reboots. Regards Upvote 0 Downvote
Hi, The obvious thing is to put that line into the /etc/rc.d/rc.local (on redhat, mandrake, and maybe others) or equivalent start-up file. There is also a setting in /etc/sysconfig/network that does the same thing (IP_FORWARD) . Remember, the /proc filesystem is just a virtualisation of kernel memory and doesn't exist on disk, nor persist across reboots. Regards