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 1JE91W-0001fQ-1g for garchives@archives.gentoo.org; Sun, 13 Jan 2008 20:01:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35AF8E0C69; Sun, 13 Jan 2008 20:01:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A43FE0C6F for ; Sun, 13 Jan 2008 20:01:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0960B64F91 for ; Sun, 13 Jan 2008 20:01:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.555 X-Spam-Level: X-Spam-Status: No, score=-0.555 required=5.5 tests=[AWL=-0.556, 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 I0IYI5yOWdSX for ; Sun, 13 Jan 2008 20:01:08 +0000 (UTC) Received: from rumba.agouros.de (mail.agouros.de [194.77.40.242]) by smtp.gentoo.org (Postfix) with ESMTP id 2FE6864E67 for ; Sun, 13 Jan 2008 20:01:06 +0000 (UTC) Received: by rumba.agouros.de (Postfix, from userid 9) id A4F0014B9FE; Sun, 13 Jan 2008 21:01:04 +0100 (CET) To: gentoo-user@lists.gentoo.org Path: elwood From: Konstantinos Agouros Newsgroups: gentoo.user Subject: [gentoo-user] DNAT not working Date: Sun, 13 Jan 2008 20:01:04 +0000 (UTC) Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1200254464.237318@rumba> NNTP-Posting-Host: localhost.agouros.de X-Trace: rumba.localnet. 1200254464 1541 127.0.0.1 (13 Jan 2008 20:01:04 GMT) X-Complaints-To: elwood@agouros.de NNTP-Posting-Date: Sun, 13 Jan 2008 20:01:04 +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: 3c35e713-1f70-4c4d-adfe-1714ea49b798 X-Archives-Hash: 612e89aa9b7a28dd164bb8286348b29f 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 Also I had to manually modprobe iptable_nat since iptables -L didn't initialize everything. I rebuilt iptables to match the current kernel (2.6.23-gentoo-r3) no luck. Strace on the command showed me setsockopt(3, SOL_IP, 0x40 /* IP_??? */, "nat\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 920) = -1 ENOENT (No such file or directory) Anybody got an idea what I am doing from? Regards, Konstantin -- 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