ezjail

Aiza aiza21 at comclark.com
Mon Mar 22 12:41:24 UTC 2010


Ruben de Groot wrote:
> On Mon, Mar 22, 2010 at 11:23:54AM +0100, Dh?nin Jean-Jacques typed:
> 
>>>> on the lan gives me no sockets mesg. And ftp from 10.0.10.6 to
>>>> 10.0.20.30 the ftp jail gives me no connection error.
> 
>> add
>>
>> sysctl security.jail.allow_raw_sockets=1
>> or in /etc/sysctl.conf
>> on the host (not in in the jail)
> 
> This will enable him to ping another host from within the jail. I won't 
> do anything for ftp.
> 
> OP: what exact error do you get? And does ftp work *within* the jail
> (ftp localhost)?

with sysctl security.jail.allow_raw_sockets=1  done on the host. From 
within the jail did ping -c 2 10.0.10.6 which is a pc on the lan gives 
me socket: Operation not permitted mesg.

And ftp from 10.0.10.6 to 10.0.20.30 the ftp jail gives me no connection 
error.

Just how am i to determine if ftp work *within* the jail ftp localhost?


More information about the freebsd-questions mailing list