Re: Jails and FreeBSD4.3

From: Attila Nagy (bra@fsn.hu)
Date: 05/07/01


Date: Mon, 7 May 2001 21:18:49 +0200 (CEST)
From: Attila Nagy <bra@fsn.hu>
To: Dave Whitaker <freebsd-security@pozer.org>

Hello,

> I recently installed FreeBSD 4.3, specifically wanting to mess with
> jails. Everything appears to work fine, except I use apache with
> mod_vhost_alias, and proftpd hosting several anonymous ftp sites. I
> need to get the jail to bind to many IPs, rather than just one. Is
> there any way to do this, or would anyone be willing to provide me
> with a patch to do so?
You can solve at least apache with IPF (ipnat) and IPFW.

Just forward the needed ports (in case of apache) to the daemon running in
the jail. For running an FTP server you have to set up the forward stuff
more carefully (maybe with NAT) because of the behaviour of the FTP
protocol.

--------------------------------------------------------------------------
Attila Nagy e-mail: Attila.Nagy@fsn.hu
Budapest Polytechnic (BMF.HU) @work: +361 210 1415 (194)
H-1084 Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message