From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G8Obc-0005Cr-Of for garchives@archives.gentoo.org; Wed, 02 Aug 2006 21:50:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k72LlsoB030115; Wed, 2 Aug 2006 21:47:54 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.196]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k72Lgugq010557 for ; Wed, 2 Aug 2006 21:42:56 GMT Received: by wx-out-0102.google.com with SMTP id r21so922871wxc for ; Wed, 02 Aug 2006 14:42:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tfget/LVqgVPlFMiGoZbp2EC/IOhfqnTccK/wDalimxhJuwm/Oq1L7UohwnBd2BZuEQdiyiDIPKzuHRkr1FYmHmhkTIkpZOsOwukPFXmz4v8APeNkfTtnXH2Io+31d5i07JxIsW+fsA5ePAlymlIwNCxX5j020g2KgA6+PmZYpk= Received: by 10.78.203.15 with SMTP id a15mr525647hug; Wed, 02 Aug 2006 14:42:55 -0700 (PDT) Received: by 10.78.16.7 with HTTP; Wed, 2 Aug 2006 14:42:55 -0700 (PDT) Message-ID: <7573e9640608021442h7b1ec93dxadf9b54e45af5ccd@mail.gmail.com> Date: Wed, 2 Aug 2006 14:42:55 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] launching iptables In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 7157067f2d8cfa22 X-Archives-Salt: 8913155c-58c3-46e5-9488-a2d162cf6682 X-Archives-Hash: 8709b6b599e8fe9189f7dbc5282776f4 On 8/2/06, 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? The best way is to run your script to setup the firewall the way you want. Then do: /etc/init.d/iptables save rc-udpate -a iptables default Then, the Gentoo iptables script will restore *your* rules every time you boot. Any time you make a change to the rules, just run "/etc/init.d/iptables save" to have Gentoo save off your current rules. -Richard -- gentoo-user@gentoo.org mailing list