On Thursday 07 December 2006 10:18, Greg Barniskis wrote:
> Denzil Kelly wrote:
> > I need to implement web content filtering using squidguard and/or
> > dansguardian for several locations. Each site has different
> > filtering requirements. I want to know if it is possible to do
> > this using a jail for each site(provided that I have sufficiently
> > powerful hardware).
> Should not be too difficult to implement.
> > I want to
> > have a different IP address for each jail.
> A unique IP for each jail is required in any case.
> > If this is possible do I need to
> > have a different NIC for each jail?
> Nope. Just use aliases in rc.conf for the one NIC. For example, if
> I have a NIC fxp0, on a host with two jails:
> ifconfig_fxp0="inet netmask"
> ifconfig_fxp0_alias0="inet netmask"
> ifconfig_fxp0_alias1="inet netmask"
> Note the alias masks are all ones -- that's not a typo.
For 6.2 and above you don't need the alias lines anymore, the 
following works just fine.

# wwwtest jail

Anish Mistry
AM Productions http://am-productions.biz/

Attachment: pgptN5Yc39GHp.pgp
Description: PGP signature

Reply via email to