Gentoo Archives: gentoo-embedded

From: Sebastian Rodriguez <sniper.mdr@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Using iptables alone without shorewall/firehol
Date: Sat, 16 Jul 2005 09:47:48
Message-Id: 8568e72d0507160247348289c5@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Using iptables alone without shorewall/firehol by Thierry Carrez
1 Ok, sorry about that, but I wasn't sure.
2 I am going to do it lie you said. Thank for the explanations
3
4 On 7/15/05, Thierry Carrez <koon@g.o> wrote:
5 >
6 > Sebastian Rodriguez wrote:
7 >
8 > > Well, I am tryng the isntall, but what you said is wrong:
9 > >
10 > > "USE_FW Set to yes to have a firewall script run at startup. See FW_TYPE
11 > > option. Note that you should overlay files in the etc/shorewall or
12 > > etc/firehol directory to configure non-default options."
13 > > So ok, I say no, but in FW_TYPE I cant chosse "no", so shorewall is
14 > > going to run by default with defaul values, Thing I don't want
15 > > So someone has an idea?
16 >
17 > Believe me. I wrote the damn thing.
18 >
19 > USE_FW decides if you run a firewall script at startup. FW_TYPE decides
20 > which script you run (if USE_FW=yes).
21 >
22 > If you still don't believe me, look at the code :
23 >
24 > if [ "${USE_FW}" == "yes" ]; then
25 > ln -snf "/etc/init.d/iptables" "/etc/runlevels/boot/iptables"
26 > if [ "${FW_TYPE}" == "firehol" ]; then
27 > ln -snf "/etc/init.d/firehol" "/etc/runlevels/default/firehol"
28 > else
29 > ln -snf "/etc/init.d/shorewall" "/etc/runlevels/default/shorewall"
30 > fi
31 > DONTDEPSCAN=0
32 > fi
33 >
34 > With USE_FW=no, you won't have iptables, you won't have shorewall, and
35 > you won't have firehol. Whatever you put in FW_TYPE.
36 >
37 > --
38 > Thierry Carrez (Koon)
39 > --
40 > gentoo-embedded@g.o mailing list
41 >
42 >
43
44
45 --
46 Sébastien Rodriguez