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.43) id 1E8VXr-0001Od-Un for garchives@archives.gentoo.org; Fri, 26 Aug 2005 04:10:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7Q47buR024183; Fri, 26 Aug 2005 04:07:37 GMT Received: from dragon.abnormalcoders.net (cpe-72-224-83-64.nycap.res.rr.com [72.224.83.64]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7Q41jZt015907 for ; Fri, 26 Aug 2005 04:01:47 GMT Received: (qmail 10409 invoked from network); 26 Aug 2005 01:13:20 -0400 Received: from unknown (HELO ?192.168.10.102?) (192.168.10.102) by 192.168.10.2 with SMTP; 26 Aug 2005 01:13:20 -0400 Subject: Re: [gentoo-user] iptables From: Eric Crossman To: gentoo-user@lists.gentoo.org In-Reply-To: <01a201c5a9ec$cd7155e0$0501a8c0@croatus> References: <01a201c5a9ec$cd7155e0$0501a8c0@croatus> Content-Type: text/plain Date: Fri, 26 Aug 2005 00:03:05 -0400 Message-Id: <1125028985.23436.16.camel@raptor> 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 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 82e6ad99-2324-489c-987b-8ba5b3050ded X-Archives-Hash: 235676d4034f1a9605bc5b09f08c27dd Once you run the rules once and run save, they will then be reloaded from that location (/var/lib/iptables/rules-save) by /etc/init.d/iptables start. The init.d script uses iptables-restore and iptables-save underneath. Eric C On Thu, 2005-08-25 at 23:17 -0400, John Dangler wrote: > I'm reading through the wiki doc on setting up iptables. There is a section > there that sets up a file called firewall.sh > i've emerged iptables, but I don't have a file by that name on the system, > and it seems that running "/etc/init.d/iptables save" writes this file as > /var/lib/iptables/rules-save. Is there a specific directory where this file > should be written so that running "/etc/init.d/iptables save" can see it? > Or can the rules-save file be edited and re-written? (It seems as though > running "/etc/init.d/iptables save" would just over-write rules-save). > > Thanks for the input. > > John D > > > > -- gentoo-user@gentoo.org mailing list