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 1JFBSs-0007RO-DT for garchives@archives.gentoo.org; Wed, 16 Jan 2008 16:50:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0270CE0584; Wed, 16 Jan 2008 16:49:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 57C41E0575 for ; Wed, 16 Jan 2008 16:49:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EC4046477A for ; Wed, 16 Jan 2008 16:49:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.526 X-Spam-Level: X-Spam-Status: No, score=-0.526 required=5.5 tests=[AWL=-0.527, BAYES_50=0.001] 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 3yZ7v4kW5veC for ; Wed, 16 Jan 2008 16:49:29 +0000 (UTC) Received: from rumba.agouros.de (mail.agouros.de [194.77.40.242]) by smtp.gentoo.org (Postfix) with ESMTP id DB48465C08 for ; Wed, 16 Jan 2008 16:49:27 +0000 (UTC) Received: by rumba.agouros.de (Postfix, from userid 9) id 5A67D14B8D9; Wed, 16 Jan 2008 17:49:25 +0100 (CET) To: gentoo-user@lists.gentoo.org Path: elwood From: Konstantinos Agouros Newsgroups: gentoo.user Subject: Re: [gentoo-user] DNAT not working Date: Wed, 16 Jan 2008 16:49:25 +0000 (UTC) Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1200502164.953580@rumba> References: <1200254464.237318@rumba> <200801161201.11328.michaelkintzios@gmail.com> <200801161423.38386.alan.mckinnon@gmail.com> NNTP-Posting-Host: localhost.agouros.de X-Trace: rumba.localnet. 1200502165 28662 127.0.0.1 (16 Jan 2008 16:49:25 GMT) X-Complaints-To: elwood@agouros.de NNTP-Posting-Date: Wed, 16 Jan 2008 16:49:25 +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: 40c7359c-ecdc-4865-bbea-fe97f03f004a X-Archives-Hash: f713bd8509aa39c72343fa697d8e15a7 In <200801161423.38386.alan.mckinnon@gmail.com> alan.mckinnon@gmail.com (Alan McKinnon) writes: >On Wednesday 16 January 2008, Mick wrote: >> On Sunday 13 January 2008, Konstantinos Agouros wrote: >> > Hi, >> > >> > I have a box running vmware server where I need some DNAT rules to >> > get traffic from a vm to where it belongs. Inserting the rule >> > iptables -t nat -I PREROUTING -s ... -d ... -p tcp --dport ... -j >> > DNAT --to-destination destaddr >> > >> > gives me: >> > >> > iptables: No chain/target/match by that name >> >> before --dport you may need the match option: -m --dport 1234 -j >> DNAT .... >no, his syntax is OK >> You might also need to specify a policy for PREROUTING before >> inserting the rule (but I'm not sure). Try these suggestions one at >> a time and see what gives. >That doesn't matter, a chain always has a policy (ACCEPT by default). >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? Regards, Konstantin >-- >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