All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice MARIE <fabrice@celestix.com>
To: Denis JULIEN <denis.julien@vupublishing.net>,
	iptables <netfilter@lists.samba.org>
Subject: Re: ip_forward file
Date: Thu, 4 Jul 2002 22:17:28 +0800	[thread overview]
Message-ID: <200207042217.28812.fabrice@celestix.com> (raw)
In-Reply-To: <839BF5387528D311AD5D00902751CFC301B0418D@HAVASSMX>


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


  parent reply	other threads:[~2002-07-04 14:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04 13:16 ip_forward file Denis JULIEN
2002-07-04 13:16 ` Antony Stone
2002-07-04 14:17 ` Fabrice MARIE [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-04 22:12 George Vieira
2002-07-04 22:45 ` Jan Humme
2002-07-04 23:12 George Vieira
2002-07-05  9:15 ` R. Sterenborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207042217.28812.fabrice@celestix.com \
    --to=fabrice@celestix.com \
    --cc=denis.julien@vupublishing.net \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.