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.62) (envelope-from ) id 1H6nAJ-00006j-08 for garchives@archives.gentoo.org; Tue, 16 Jan 2007 12:11:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0GC7vLD021094; Tue, 16 Jan 2007 12:07:57 GMT Received: from gabriel.sub.uni-goettingen.de (gabriel.sub.uni-goettingen.de [134.76.163.126]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0GBtu14008111 for ; Tue, 16 Jan 2007 11:55:57 GMT Received: by gabriel.sub.uni-goettingen.de (Postfix, from userid 8) id 585B7108C7B; Tue, 16 Jan 2007 12:17:53 +0100 (CET) Received: from localhost (unknown [134.76.161.221]) by gabriel.sub.uni-goettingen.de (Postfix) with ESMTP id DD4A8108C6D for ; Tue, 16 Jan 2007 12:17:51 +0100 (CET) Date: Tue, 16 Jan 2007 12:17:51 +0100 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Setting up a home router Message-Id: <20070116121751.ba627364.hilse@web.de> In-Reply-To: <6142e6140701160003r1fcf996mf199bef9aa85ebdf@mail.gmail.com> References: <6142e6140701141127ke803445jb5d9a89f8fa523a@mail.gmail.com> <3D60AF2712C16D42A38076E52FD6E3D23F0CA7@ukmcrdembx01.rd.astrazeneca.net> <6142e6140701150055m280342c8o5058943472d1b175@mail.gmail.com> <45AB4E14.1000406@ilievnet.com> <6142e6140701151017xa81c2e6k73e0a064575780f2@mail.gmail.com> <20070116001332.1ccbfb03.hilse@web.de> <6142e6140701151530g4eca995fhfe21396929a50b73@mail.gmail.com> <20070116014049.031f8e0f.hilse@web.de> <6142e6140701160003r1fcf996mf199bef9aa85ebdf@mail.gmail.com> X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.6; i586-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Details: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gabriel.sub.uni-goettingen.de X-Archives-Salt: 31c3a141-5147-472e-ba20-e6f1d7598179 X-Archives-Hash: a21366366ae603850e799c7445e6b969 Hi, On Tue, 16 Jan 2007 09:03:59 +0100 "Daniel Pielmeier" wrote: > > Personally, I'm quite happy with > > > > $ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > > $ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT > > $ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT Aaargh! That last one should have the state NEW omitted (and the following comma, of course). > Thanks, so i think that i have to get familiar with iptables itself, > because i want to some more than routing. I will try this rules in the > evening and tell you if it works. No fears, iptables is easy to configure! Search for some How-To that has a big picture of which packets entering which chains in which tables. That really helps a lot. -hwh -- gentoo-user@gentoo.org mailing list