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 
rule (but I'm not sure).  Try these suggestions one at a time and see what 
gives.

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to