jailed "system" needs ipv4 access

John lists at itconsultuk.net
Tue Feb 17 04:49:23 PST 2004


Hello

I made a jail for a domain I host, according to the man page for jail.
It runs great and I can ssh and telnet on port 25 into it from the host.

What I would like the root user to be able to do inside the jail is to
ssh to other boxes and use the ports collection. I have set the
following sysctls:

jail.set_hostname_allowed=0
jail.socket_unixiproute_only=0  

(the man page says:
cesses within jails may only access protocols in the following
domains: PF_LOCAL, PF_INET, and PF_ROUTE, permitting
them access to UNIX domain sockets, IPv4 addresses, and
routing sockets.  To enable access to other domains, this
MIB variable may be set to 0.)

I wanted it to access as much as possible ipv4-wise from inside the
jail.

I have set the 2nd MIB to 0 for this reason, but to no avail.

Is it possible for ssh and ftp to work from inside? I want root to
install ports from within.

cheers
-- 



More information about the freebsd-questions mailing list