Hi there Please can someone put me out of my misery. I am trying to compile iptables into the DomU so that each DomU can set up its own firewall. Does anyone have a step by step howto ? So far I have got to the point of having a running Dom0 and DomU. Its a redhat based installation (Centos4.0) TIA Andrew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jul 05, 2005 at 08:21:19PM +0100, Andrew Turnbull wrote:> Hi there > > Please can someone put me out of my misery. > > I am trying to compile iptables into the DomU so that each DomU can > set up its own firewall.Get kernel source. Patch with Xen patch. Configure kernel as normal making sure that you have something like the following options: Xen -> (disable) privileged guest network device frontend block device frontend Compile kernel as normal and then mention it in a domain config. Which step are you having problems with?> Does anyone have a step by step howto ?At the moment I compile my kernels on Debian so I would not know but I''m sure there are HOWTOs out there. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 05/07/05, Andy Smith <andy@strugglers.net> wrote:> On Tue, Jul 05, 2005 at 08:21:19PM +0100, Andrew Turnbull wrote: > > Hi there > > > > Please can someone put me out of my misery. > > > > I am trying to compile iptables into the DomU so that each DomU can > > set up its own firewall. > > Get kernel source.Any old Kernel from kernel.org ? or 2.6.11.10> > Patch with Xen patch.is this in the ones in /xen-2.0/patches/linux-2.6.11/ using patch < /xen-2.0/patches/linux-2.6.11/*.patch> > Configure kernel as normal making sure that you have something like > the following options:is that make menuconfig ARCH=xen ?> > Xen -> > (disable) privileged guest > network device frontend > block device frontend > > Compile kernel as normal and then mention it in a domain config.make> > Which step are you having problems with?I basicly dont really know much about compiling, I need a blow by blow guide, I havent been able to piece together any of the different parts I have found to get it working.> > > Does anyone have a step by step howto ? > > At the moment I compile my kernels on Debian so I would not know but > I''m sure there are HOWTOs out there. > > > BodyID:620263829.2.n.logpart (stored separately) > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Get kernel source. > > Any old Kernel from kernel.org ? or 2.6.11.10Grab the 2.6.11 tarball and put it in your Xen source tree. Then do "make dist". Then do: cd linux-2.6.11-xenU make ARCH=xen menuconfig Set up ip tables cd .. make dist I think this should work, as lng as we''re preserving the config files in the right places. Cheers, Mark> > Patch with Xen patch. > > is this in the ones in /xen-2.0/patches/linux-2.6.11/ > using > > patch < /xen-2.0/patches/linux-2.6.11/*.patch > > > Configure kernel as normal making sure that you have something like > > the following options: > > is that make menuconfig ARCH=xen ? > > > Xen -> > > (disable) privileged guest > > network device frontend > > block device frontend > > > > Compile kernel as normal and then mention it in a domain config. > > make > > > Which step are you having problems with? > > I basicly dont really know much about compiling, I need a blow by blow > guide, I havent been able to piece together any of the different parts > I have found to get it working. > > > > Does anyone have a step by step howto ? > > > > At the moment I compile my kernels on Debian so I would not know but > > I''m sure there are HOWTOs out there. > > > > > > BodyID:620263829.2.n.logpart (stored separately) > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users