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 1E8ZzE-0005Rf-1s for garchives@archives.gentoo.org; Fri, 26 Aug 2005 08:54:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7Q8qfZg017927; Fri, 26 Aug 2005 08:52:41 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7Q8lcDZ021758 for ; Fri, 26 Aug 2005 08:47:39 GMT Received: by nproxy.gmail.com with SMTP id x37so159175nfc for ; Fri, 26 Aug 2005 01:49:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gCWyxRasy12bfWPzCm4qN3ogoO3w1Hz5uyYDWVOiQ3qrJGavEXiGQHjs1lDMXn+i21WgOP+pdnZCwMpH9votfj7hwELtO8Dh7xadG/pcUB8R3dnCqzq6CB92WHSscqxrInv+ypRZLA293Vn5dlazmq0Hw/4rjnXVoArKsCBd5Pc= Received: by 10.48.157.15 with SMTP id f15mr144363nfe; Fri, 26 Aug 2005 01:49:00 -0700 (PDT) Received: by 10.48.142.10 with HTTP; Fri, 26 Aug 2005 01:49:00 -0700 (PDT) Message-ID: Date: Fri, 26 Aug 2005 08:49:00 +0000 From: Fernando Meira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] iptables In-Reply-To: <01a201c5a9ec$cd7155e0$0501a8c0@croatus> 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: multipart/alternative; boundary="----=_Part_4764_139102.1125046140321" References: <01a201c5a9ec$cd7155e0$0501a8c0@croatus> X-Archives-Salt: c0cdfd28-f99f-42aa-9652-182e4e603876 X-Archives-Hash: d34211b6b42a567c3feab8271a6ef5cc ------=_Part_4764_139102.1125046140321 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/26/05, John Dangler wrote: >=20 > I'm reading through the wiki doc on setting up iptables. There is a=20 > 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=20 > 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). >=20 > Thanks for the input. >=20 > John D You first run the firewall.sh script. Then you do "/etc/init.d/iptables=20 save" to save what you have just configured! HTH, Fernando ------=_Part_4764_139102.1125046140321 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/26/05, John Dangler <jdangler@atlantic.net> wrote:
I'm reading through the wiki doc on setting up iptables.  There i= s 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 se= ems 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/ipta= bles 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 rul= es-save).

Thanks for the input.

John D

You first run the firewall.sh script. Then you do "/etc/init.d/iptable= s save" to save what you have just configured!

HTH,
Fernando


------=_Part_4764_139102.1125046140321-- -- gentoo-user@gentoo.org mailing list