WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xen, iptables, DNAT

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen, iptables, DNAT
From: nikitoz@xxxxxxxxxxxxxxx (Nikita Gubenko)
Date: Mon, 29 Jan 2007 15:24:23 +0200 (EET)
Delivery-date: Mon, 29 Jan 2007 05:24:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all
Having some problems, after installing xen on gentoo.

Xen version xen (3.0.2)

I have 2 domains - dom0, domU
In domU there is 2 ifaces, eth0 and eth0.798, which I configured in 
/etc/conf.d/net
eth0 - is internal iface (ip in 10/8) and eth0.798 (vlan) - is external iface. 
I need to redirect port from x.x.x.x of eth0.798 to y.y.y.y of eth0.
How can I do it (iptables doesn't work in domU)?

domU# iptables -L
WARNING: Error inserting x_tables 
(/lib/modules/2.6.16.28-xen/kernel/net/netfilter/x_tables.ko): Invalid module 
format
FATAL: Error inserting ip_tables 
(/lib/modules/2.6.16.28-xen/kernel/net/ipv4/netfilter/ip_tables.ko): Invalid 
module format
iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do 
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

10x for any help.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen, iptables, DNAT, Nikita Gubenko <=