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 1FyAhS-0001S2-Mn for garchives@archives.gentoo.org; Wed, 05 Jul 2006 16:58:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k65GpOKq021851; Wed, 5 Jul 2006 16:51:24 GMT Received: from mxo4.broadbandsupport.net (mxo4.broadbandsupport.net [209.55.3.84]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k65GXGxe032650 for ; Wed, 5 Jul 2006 16:33:16 GMT Received: from [192.168.100.4] (unknown [207.68.230.60]) by mxo4.broadbandsupport.net (Postfix) with ESMTP id 450DEBC897E for ; Wed, 5 Jul 2006 12:32:59 -0400 (EDT) Message-ID: <44ABE9BA.6010404@vista-express.com> Date: Wed, 05 Jul 2006 11:32:58 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060703 SeaMonkey/1.0.2 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: iptables wiki References: <44AB8E7E.1090005@ilievnet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-broadbandsupport.net-MailScanner-Information: Please contact the ISP for more information X-broadbandsupport.net-MailScanner: Found to be clean X-broadbandsupport.net-MailScanner-From: teendale@vista-express.com X-Spam-Status: No X-Archives-Salt: 71311950-d347-48c8-ad52-ca4f19479bec X-Archives-Hash: 24c01380fae50d3826e3eba351b86fe8 James wrote: > > What I'm looking for is the series of steps to > 1. Where best to locate my script? > 2. Insert (new) commands into the script. > 3. convert new scrited commands into rulesets > 4. Load rulesets into the /var/lib/iptables/rules-save > 5. Restart the iptables/netfilter firewall > 6. Test the (new) rulesset > 7. Go to step 2 and repeat until a wonderful firewall results. > > If what I work above [A] is correct then I just need some suggestions > as to where the scipt should be located under /etc/, for > consistentcy with gentoo mindsets. > > If what I have written is incorrect, please correct with some detail? > > PS: I'm not trying to be a pain, I just need to fully understand the > process on Gentoo. > > > James > > You can search around for a script to run. I found one here: http://openchemist.net/linux/howto/files/theWall You can find others though that are more to your liking of course. What I did a long time ago is this. I found a script that did what I needed and downloaded it. I then put it in /sbin and made it executable. I ran the command to make sure it would work. After that I did a /etc/init.d/iptables save and from then on it has worked. I did have to change a setting when I started using samba then save it again but it is not to hard. Now figuring out the iptables command is another matter. It never has really made much sense to me. I just searched for a good script and ran it. Dale :-) :-) -- gentoo-user@gentoo.org mailing list