public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] DNAT not working
@ 2008-01-13 20:01 Konstantinos Agouros
  2008-01-13 23:18 ` Daniel Iliev
  2008-01-16 12:01 ` Mick
  0 siblings, 2 replies; 13+ messages in thread
From: Konstantinos Agouros @ 2008-01-13 20:01 UTC (permalink / raw
  To: gentoo-user

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: 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-01-19  9:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox