From: dg <dg@kaboom.spb.ru>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] launching iptables
Date: Thu, 3 Aug 2006 01:53:29 +0400 [thread overview]
Message-ID: <200608030153.29462.dg@kaboom.spb.ru> (raw)
In-Reply-To: <loom.20060802T223410-566@post.gmane.org>
On Thursday 03 August 2006 00:41, James wrote:
> Hello,
>
> I've got my own iptables script to launch a customized firewall, located in
> /usr/local/bin.
>
> I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit
> this scipt as 'gentoo' updates nuke my edits therein. Where is the gentoo
> place of preference to launch my scipt after the gentoo runscipt
> '/etc/init.d/iptables' is finished running?
>
> Is their a way to get 'rc-update add <my_firewall> default' to launch
> my_firewall without putting it in the /etc/init.d/ dir and using the
> runscipt template for my script?
>
>
> thoughts, suggestions and examples are most welcome.
>
>
> James
Just run your script once, then do
/etc/init.d/iptables save
/etc/init.d/iptables start
and
rc-update add iptables default
... and it will load your rules and start firewall automatically.
BR,
dmitri
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-02 21:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 20:41 [gentoo-user] launching iptables James
2006-08-02 20:59 ` Alexander Kirillov
2006-08-02 21:13 ` [gentoo-user] " James
2006-08-02 22:29 ` Iain Buchanan
2006-08-03 1:08 ` Daniel Huckstep
2006-08-02 21:16 ` [gentoo-user] " Donnie Berkholz
2006-08-02 21:20 ` Jerry McBride
2006-08-02 21:42 ` Richard Fish
2006-08-02 21:53 ` dg [this message]
2006-08-03 1:52 ` [gentoo-user] " James
2006-08-03 2:16 ` Dale
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=200608030153.29462.dg@kaboom.spb.ru \
--to=dg@kaboom.spb.ru \
--cc=gentoo-user@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