From: Thierry Carrez <koon@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Using iptables alone without shorewall/firehol
Date: Fri, 15 Jul 2005 20:29:19 +0200 [thread overview]
Message-ID: <42D8007F.5020102@gentoo.org> (raw)
In-Reply-To: <8568e72d05071510335974507e@mail.gmail.com>
Sebastian Rodriguez wrote:
> Well, I am tryng the isntall, but what you said is wrong:
>
> "USE_FW Set to yes to have a firewall script run at startup. See FW_TYPE
> option. Note that you should overlay files in the etc/shorewall or
> etc/firehol directory to configure non-default options."
> So ok, I say no, but in FW_TYPE I cant chosse "no", so shorewall is
> going to run by default with defaul values, Thing I don't want
> So someone has an idea?
Believe me. I wrote the damn thing.
USE_FW decides if you run a firewall script at startup. FW_TYPE decides
which script you run (if USE_FW=yes).
If you still don't believe me, look at the code :
if [ "${USE_FW}" == "yes" ]; then
ln -snf "/etc/init.d/iptables" "/etc/runlevels/boot/iptables"
if [ "${FW_TYPE}" == "firehol" ]; then
ln -snf "/etc/init.d/firehol" "/etc/runlevels/default/firehol"
else
ln -snf "/etc/init.d/shorewall" "/etc/runlevels/default/shorewall"
fi
DONTDEPSCAN=0
fi
With USE_FW=no, you won't have iptables, you won't have shorewall, and
you won't have firehol. Whatever you put in FW_TYPE.
--
Thierry Carrez (Koon)
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-15 18:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-14 13:17 [gentoo-embedded] Using iptables alone without shorewall/firehol Sebastian Rodriguez
2005-07-14 17:06 ` Thierry Carrez
2005-07-14 17:08 ` Sebastian Rodriguez
2005-07-14 17:13 ` Thierry Carrez
2005-07-14 17:31 ` Sebastian Rodriguez
2005-07-15 17:33 ` Sebastian Rodriguez
2005-07-15 18:29 ` Thierry Carrez [this message]
2005-07-16 9:47 ` Sebastian Rodriguez
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=42D8007F.5020102@gentoo.org \
--to=koon@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.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