From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFu7D-0004ma-Gk for garchives@archives.gentoo.org; Fri, 18 Jan 2008 16:30:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FA47E09A1; Fri, 18 Jan 2008 16:30:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C42EE099C for ; Fri, 18 Jan 2008 16:30:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E3B7A6522B for ; Fri, 18 Jan 2008 16:30:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.846 X-Spam-Level: X-Spam-Status: No, score=-0.846 required=5.5 tests=[AWL=-0.106, BAYES_20=-0.74] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XyPKXSZn8EYr for ; Fri, 18 Jan 2008 16:30:01 +0000 (UTC) Received: from rumba.agouros.de (mail.agouros.de [194.77.40.242]) by smtp.gentoo.org (Postfix) with ESMTP id A65A6652EC for ; Fri, 18 Jan 2008 16:29:59 +0000 (UTC) Received: by rumba.agouros.de (Postfix, from userid 9) id 0A40B14BFAE; Fri, 18 Jan 2008 17:29:56 +0100 (CET) To: gentoo-user@lists.gentoo.org Path: elwood From: Konstantinos Agouros Newsgroups: gentoo.user Subject: Re: [gentoo-user] DNAT not working Date: Fri, 18 Jan 2008 16:29:56 +0000 (UTC) Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1200673796.790084@rumba> References: <1200254464.237318@rumba> <200801161423.38386.alan.mckinnon@gmail.com> <1200502164.953580@rumba> <200801162013.49843.alan.mckinnon@gmail.com> <1200590596.662469@rumba> NNTP-Posting-Host: localhost.agouros.de X-Trace: rumba.localnet. 1200673796 20028 127.0.0.1 (18 Jan 2008 16:29:56 GMT) X-Complaints-To: elwood@agouros.de NNTP-Posting-Date: Fri, 18 Jan 2008 16:29:56 +0000 (UTC) User-Agent: nn/6.6.4 Cache-Post-Path: rumba!unknown@rumba X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 74f5c24e-2714-4968-99d1-5ecbd2ca5599 X-Archives-Hash: 55b4ea5bc2bb6f321eb04a5e1f6b6e92 In <1200590596.662469@rumba> elwood@agouros.de (Konstantinos Agouros) writes: >In <200801162013.49843.alan.mckinnon@gmail.com> alan.mckinnon@gmail.com (Alan McKinnon) writes: >>On Wednesday 16 January 2008, Konstantinos Agouros wrote: >>> In <200801161423.38386.alan.mckinnon@gmail.com> >>alan.mckinnon@gmail.com (Alan McKinnon) writes: >>> >Most likely he doesn't have the correct module loaded int he kernel >>> >>> As I said, the fact that iptables -L (after a fresh reboot) does not >>> do anything puzzles me a bit. What would be the right module in Your >>> opinion? Also is there a kernel configuration option I might have >>> overseen? >>nat needs the following config at least: >>Networking -> Networking Options -> Network packet filtering framework >>(Netfilter) -> IP: Netfilter Configuration -> Full NAT >>and the options below it >>the modules that load on my machine after running that same iptbales >>command are: >>xt_tcpudp 3712 1 >>iptable_nat 7812 1 >>nf_nat 20524 1 iptable_nat >>nf_conntrack_ipv4 18952 2 iptable_nat >>nf_conntrack 66376 3 iptable_nat,nf_nat,nf_conntrack_ipv4 >>nfnetlink 6424 3 nf_nat,nf_conntrack_ipv4,nf_conntrack >>ip_tables 14284 1 iptable_nat >>x_tables 15748 3 xt_tcpudp,iptable_nat,ip_tables >This is what I have: >Module Size Used by >iptable_filter 6400 1 >iptable_nat 10116 0 >ip_tables 14404 2 iptable_filter,iptable_nat >nf_nat 19116 1 iptable_nat >x_tables 14084 2 iptable_nat,ip_tables >nf_conntrack_ipv4 11908 2 iptable_nat >nf_conntrack 53192 3 iptable_nat,nf_nat,nf_conntrack_ipv4 >nfnetlink 8088 3 nf_nat,nf_conntrack_ipv4,nf_conntrack >xt_tcpudp is the difference as it seems verified it that was the problem. For whatever reason I forgot to configure module autoloading into the kernel. >>alan >>-- >>Alan McKinnon >>alan dot mckinnon at gmail dot com >>-- >>gentoo-user@lists.gentoo.org mailing list >-- >Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de >Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 >---------------------------------------------------------------------------- >"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres >-- >gentoo-user@lists.gentoo.org mailing list -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 ---------------------------------------------------------------------------- "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres -- gentoo-user@lists.gentoo.org mailing list