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] iptables in dom0

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] iptables in dom0
From: Sipos Ferenc <frank@xxxxxxx>
Date: Wed, 10 Jan 2007 22:19:31 +0100
Delivery-date: Wed, 10 Jan 2007 13:19: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
Guys,

I'm stuck with dom0's firewall setup. I've read the corresponging wiki
and mailing list threads, and until this point I believed I understood
it correctly, but that might not be the case.

In my dom0, after xend did its part I have:
- peth0 (physical ethernet device)
- eth0 which is just one end of vif0.0 (fulfils the same role as eth0 in
a domU)
- and last vif0.0, which is the other end of the virtual cable coming
from (v)eth0, and is connected to xenbr0 along with the other vif's and
peth0.

How come then, that a 
-A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
rule leaves me with no outbound connection? The other end cleary states
that a high port in my dom0 is not accessible to it, which means my
firewall is not stateful, as it was initiated by me (dom0)?

Furthermore, if I do the --physdev filtering like most people do, when
shall I run the script from? Right after xend starts? Is there
preferable point in time to do it during dom0's boot?

I hope someone can put me on the right track.
Thanks guys for the professional supported provided so far.

Cheers,
Frank





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

<Prev in Thread] Current Thread [Next in Thread>