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


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
[email protected] mailing list

Reply via email to