On Thursday 04 July 2002 2:16 pm, Denis JULIEN wrote: > Hi, > In order to validate the routing of my Red hat linux (7.2) I have to do an > echo "1" > /proc/sys/net/ipv4/ip_forward. > But every time that I restart the network service the ip_forward file > returns to the "0" value and my server does not route any more. > How can I do to keep the ip_forward set to "1"?
Put the command: echo "1" > /proc/sys/net/ipv4/ip_forward into one of your startup scripts (preferably after setting the firewall rules). Antony.
