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

Also I had to manually modprobe iptable_nat since iptables -L didn't
initialize everything. I rebuilt iptables to match the current kernel
(2.6.23-gentoo-r3) no luck. Strace on the command showed me
setsockopt(3, SOL_IP, 0x40 /* IP_??? */, 
"nat\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 920) = -1 
ENOENT (No such file or directory)

Anybody got an idea what I am doing from?

Regards,

Konstantin
-- 
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
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to