On Wed, 4 Dec 2002, Jeff MacDonald wrote: > Hi, > > I have been thinking about running 2 jails on my home server > one for "work sensitive" data, the other for personal fun stuff. > > However i only have 1 ip at my house [static]. > > Could i take the server taht will have jails on it, put it behind > a natd box so it has 2 ip's [192.168.0.1 and .2] and just make > the nat box, forward packets to teh appropriate jail based upon > what port they come in on ?
Yes. Or you could just run both jails on the same IP address. > also, if i have host machine with 2 jails in it, i know i can't > run PostgreSQL in the jails, can i run it on the host environment > and make the jails access it via TCP ? You can run PostgreSQL in a jail - though you do need to turn the jail.sysvipc_allowed sysctl on first. You can also run it in the host environment and talk via TCP if you wish. > server is a dual PII 300 with 512 megs of ram, this should be fine > to handle 2 jails, right ? That depends what you run in them :-) I don't think there's any remotely significant overhead in having a process run in a jail compared to having one run outside a jail. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message