From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice MARIE Subject: Re: ip_forward file Date: Thu, 4 Jul 2002 22:17:28 +0800 Sender: netfilter-admin@lists.samba.org Message-ID: <200207042217.28812.fabrice@celestix.com> References: <839BF5387528D311AD5D00902751CFC301B0418D@HAVASSMX> Reply-To: fabrice@celestix.com Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <839BF5387528D311AD5D00902751CFC301B0418D@HAVASSMX> Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Denis JULIEN , iptables Hello, On Thursday 04 July 2002 21:16, 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"? > (It's my first time on linux..) > thank in advance > Denis If you have a file called /etc/sysctl.conf, then add the following line in it : net.ipv4.ip_forward = 1 Have a nice day, Fabrice. -- Fabrice MARIE Senior R&D Engineer Celestix Networks http://www.celestix.com/ "Silly hacker, root is for administrators" -Unknown