Linux Netfilter discussions
 help / color / mirror / Atom feed
From: KKH <knabberknusperhaus@yahoo.de>
To: netfilter@lists.netfilter.org
Subject: Settings via init.d lost during runtime
Date: Sun, 25 Jul 2004 19:37:08 +0200	[thread overview]
Message-ID: <4103EFC4.9060402@yahoo.de> (raw)

Hi,

I'm using a suse9.1 box with iptables as router/dump for the other 
machines of mine. custom firewall/nat settings are done by a script that 
is linked by 'rc3.d'. the script is like

#!/bin/bash
IPTABLES='/usr/sbin/iptables -v'
echo "Starting NoIP Client..."
/usr/local/bin/noip2
echo "Done"
[...]
echo "Setting more firewall rules..."
$IPTABLES -I INPUT -p tcp -i ppp0 --dport 1337 -j ACCEPT
echo "Done"
[... Executing more tools ...]


now the weird thing is that all tools run by the script are active while 
the iptables settings are not present when the script finishes . 
iptables does not give any error msg - the rules are simply 
ignored/forgotten/whatever.

any idea whats happening?

regards
kkh





             reply	other threads:[~2004-07-25 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25 17:37 KKH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-26 13:11 Settings via init.d lost during runtime Jason Opperisano
2004-07-26 18:29 Jason Opperisano

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=4103EFC4.9060402@yahoo.de \
    --to=knabberknusperhaus@yahoo.de \
    --cc=netfilter@lists.netfilter.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