Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jan Humme <jan.humme@xs4all.nl>
To: George Vieira <GeorgeV@citadelcomputer.com.au>
Cc: iptables <netfilter@lists.samba.org>
Subject: Re: ip_forward file
Date: Fri, 5 Jul 2002 00:45:42 +0200	[thread overview]
Message-ID: <02070500454203.06327@Lms> (raw)
In-Reply-To: <200FAA488DE0D41194F10010B597610D2BA22B@JUPITER>

On Friday 05 July 2002 00:12, George Vieira wrote:
> Redhat uses it's /etc/sysconfig/network file to save that stuff..
>
> IE..
>
> FORWARD_IPV4=yes

Not on all RedHat versions work this way, e.g. NOT on RH 7.1 which I am 
running today.

But I seem to remember it did in RH 6.1; what version are you running?

On RedHat 7.1 a "service network stop" (or /etc/init.d/network stop) will 
disable forwarding, but "service network start" will NOT enable it again (!), 
unless specified in /etc/sysctl.conf.

So if you do a "service network restart" (or /etc/rc.d/init.d/network 
restart) and expect to have a clean network configuration (after messing 
around or whatever), then your forwarding won't work.

This is the reason why I now use /etc/sysctl.conf instead of a line in 
/etc/rc.local; then everything works fine.

Jan Humme.


  reply	other threads:[~2002-07-04 22:45 UTC|newest]

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

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=02070500454203.06327@Lms \
    --to=jan.humme@xs4all.nl \
    --cc=GeorgeV@citadelcomputer.com.au \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox