[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools: dom0 iptables rule ordering change



This patch makes two small changes to dom0 iptables rules that permit (and revoke) domU network access.

First:
Currently, a rule intended to allow domU network access is appended to the end of the FORWARD chain, where it can be preempted by other rules. This patch causes the rule to be inserted at the top, where it's more likely to have the intended effect.

Second:
In some cases (e.g. Fedora 9's default iptables configuration), the first rule alone is insufficient to permit two-way packet flow. This patch adds a second rule to the FORWARD chain that permits replies to domU network requests to reach the domU vif.

Signed-off-by: Chris Bookholt <hap10@xxxxxxxxxxxxxx>

Attachment: vif-common.patch
Description: Binary data


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.