From: Konstantinos Agouros <elwood@agouros.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] DNAT not working
Date: Wed, 16 Jan 2008 16:49:25 +0000 (UTC) [thread overview]
Message-ID: <1200502164.953580@rumba> (raw)
In-Reply-To: 200801161423.38386.alan.mckinnon@gmail.com
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
next prev parent reply other threads:[~2008-01-16 16:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 20:01 [gentoo-user] DNAT not working Konstantinos Agouros
2008-01-13 23:18 ` Daniel Iliev
2008-01-14 16:31 ` Konstantinos Agouros
2008-01-16 12:01 ` Mick
2008-01-16 12:23 ` Alan McKinnon
2008-01-16 16:49 ` Konstantinos Agouros [this message]
2008-01-16 18:13 ` Alan McKinnon
2008-01-16 19:19 ` Etaoin Shrdlu
2008-01-17 17:23 ` Konstantinos Agouros
2008-01-17 17:23 ` Konstantinos Agouros
2008-01-18 16:29 ` Konstantinos Agouros
2008-01-18 17:36 ` Alan McKinnon
2008-01-19 9:29 ` Konstantinos Agouros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1200502164.953580@rumba \
--to=elwood@agouros.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox