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 1H6nKW-0007hl-3D for garchives@archives.gentoo.org; Tue, 16 Jan 2007 12:22:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0GCK4mi016722; Tue, 16 Jan 2007 12:20:04 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0GCAjSi007951 for ; Tue, 16 Jan 2007 12:10:46 GMT Received: by wr-out-0506.google.com with SMTP id 70so1501159wra for ; Tue, 16 Jan 2007 04:10:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DIHBGW0liHmqCUVLPre+LDhYZIq645bPU+CCwfZEryqRb3TuNvboEQFYFv3R01wYBUOYS38CWstT8FCBLXx29osxQQ1RixdUg8iZZDO10/UgdktiH7OewAJuHUJf4Qkw9Bn0LWfTrOccqfoODpTcjAPO6WLQxYIybqwnn+bXvFY= Received: by 10.90.56.14 with SMTP id e14mr4253828aga.1168949445187; Tue, 16 Jan 2007 04:10:45 -0800 (PST) Received: by 10.90.56.8 with HTTP; Tue, 16 Jan 2007 04:10:45 -0800 (PST) Message-ID: <6142e6140701160410p1c91aa81i89455fcf46175b9f@mail.gmail.com> Date: Tue, 16 Jan 2007 13:10:45 +0100 From: "Daniel Pielmeier" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Setting up a home router In-Reply-To: <20070116121751.ba627364.hilse@web.de> 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> <20070116121751.ba627364.hilse@web.de> X-Archives-Salt: 54b126e3-338c-4511-a0d9-4cc763bf7a23 X-Archives-Hash: 62ec6e5e9bef7b0c64ffd000a84feea8 > > > 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. I haven't found a how-to like this. Do you know a good how-to? At the moment iam reading this one http://iptables-tutorial.frozentux.net/iptables-tutorial.html. -- gentoo-user@gentoo.org mailing list