In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (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
>-- 
>[email protected] mailing list

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED]
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres
-- 
[email protected] mailing list

Reply via email to