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 1JF6z4-0007mO-Bv for garchives@archives.gentoo.org; Wed, 16 Jan 2008 12:03:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09FD0E08AF; Wed, 16 Jan 2008 12:02:20 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by pigeon.gentoo.org (Postfix) with ESMTP id 4B399E088B for ; Wed, 16 Jan 2008 12:02:19 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id j3so210558ugf.49 for ; Wed, 16 Jan 2008 04:02:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; bh=gYofuv9UsBLTORBb4dSxS2esTd0bAVMwayiEfDJ82s8=; b=LTN/ozOaaKgft9F5XmrQ+FKwuLkd+2jlxYkzssRbsOrh6ttaaEIZ96azU2lEJz2RmZGPrvFRHoPlpO5Ba7FKU2XECVyA09PCYraCLO3DyZqgqcIT/7DtVeVE0Lkf1RTeBafV8pmObqkNGa/xkrkk9vzzDiibOTG8P0TurpP+1Wg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=tH1tZyTGh3VufHcA6PAYyERDDJ54OpHsQjtWjm/LKUQh3PdCYWYTp5s4FQsfVHMi+71hAn1FhheiJ807lm5ILWC0av7TH6WGo6mJG5Gb4ng8sALDBMWr6hewnCCgsvdVvPNcM96gU444B0yLTcOljeRv31Bnqlg2fjlG16N5Qzo= Received: by 10.66.255.7 with SMTP id c7mr2012126ugi.43.1200484938652; Wed, 16 Jan 2008 04:02:18 -0800 (PST) Received: from lappy ( [86.140.42.18]) by mx.google.com with ESMTPS id u1sm4720203uge.14.2008.01.16.04.02.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Jan 2008 04:02:17 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] DNAT not working Date: Wed, 16 Jan 2008 12:01:00 +0000 User-Agent: KMail/1.9.7 References: <1200254464.237318@rumba> In-Reply-To: <1200254464.237318@rumba> 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 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1271674.OKgZipfZt6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801161201.11328.michaelkintzios@gmail.com> X-Archives-Salt: 12845361-0a0b-434b-acc2-424660033776 X-Archives-Hash: 24cf012cebe661b50c2cfae8c5e3a545 --nextPart1271674.OKgZipfZt6 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 .... You might also need to specify a policy for PREROUTING before inserting the= =20 rule (but I'm not sure). Try these suggestions one at a time and see what= =20 gives. HTH. =2D-=20 Regards, Mick --nextPart1271674.OKgZipfZt6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHjfIH5Fp0QerLYPcRAgYIAKCuLRyA316kCN70yGogpSn2aBtOswCfSwp2 g3dcob06kOYN4xNTu0acSaU= =BJzY -----END PGP SIGNATURE----- --nextPart1271674.OKgZipfZt6-- -- gentoo-user@lists.gentoo.org mailing list