ip settings not work for jail 'service' type

Glen Barber glen.j.barber at gmail.com
Thu Jul 21 00:30:59 UTC 2011


On 7/20/11 6:03 PM, Subbsd wrote:
> Hi
> 
> Jail configuration with "complete” works perfectly with IP4, IP6 and
> their secondary.
> But if try jailed 'service' - it does not work. For example:
> 
> 1) have uncomment:
> ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l
> 
> 2) have jail cfg like:
> jail_enable="YES"
> jail_list="example"             # Space separated list of names of jails
> jail_example_rootdir="/"

You are pointing the jail's root directory to the host's root directory.

Please see the following Handbook chapter:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html

Regards,

-- 
Glen Barber


More information about the freebsd-jail mailing list