On 2006/11/21-12:52(+0100), abdelkader belahcene wrote :
> I want to use my machien as a gateway for others ones, instead of
> doing that at manually
> echo "1" > /proc/sys/net/ipv4/ip_forward
> I want to do it permanantly , Where to store it.

Best practise is to use the /etc/sysctl.conf file (man 5 sysctl.conf)
and sysctl command instead of echo and redirection (man 8 sysctl)

Enable the /etc/init.d/procps.sh script to load this values at boot time.

http://www.debian.org/doc/manuals/reference/ch-kernel.en.html#s-proc-sys


Regards.

YL


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to