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

[Xen-users] dom0 iptables FORWARD default DROP?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "John Hannfield" <hal9020@xxxxxxxxx>
  • Date: Sat, 25 Nov 2006 10:47:47 +0000
  • Delivery-date: Sat, 25 Nov 2006 02:48:05 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=t2B9vXlH7k6U8MlpSnAWhFPxpngCEe06Jyy1aEJZHhx1bYyzKWMU25RLOgYG8QXlv3ERJVomHwrGEVuA3omysmWqRqgfwBMPs68VbhSXM2FLBsMitpmCWW2CCRfCWPFLlj1H/njPGbN6IBuYZIsp86NrMc1STYyj1z79nqvBJQk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,
What is the best policy for the FORWARD chain in dom0 iptables?
Can I use a default DROP policy?
I notice when domains are created it adds the extra rules to the
FORWARD chain, to
allow traffic to the guests. However, if iptables is restarted, all
these rules are lost.

Do I need a rule per VPS, or can I use a single catch all to handle all of them?

http://wiki.xensource.com/xenwiki/XenNetworking
Suggests using this:

-A FORWARD -m physdev --physdev-in eth0  ! --physdev-out  eth0  -j ACCEPT
-A FORWARD -m physdev --physdev-out eth0 ! --physdev-in  eth0  -j ACCEPT

What is the recommended way to handle the FORWARD chain in dom0 iptables?

--

John

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


 


Rackspace

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