Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 12:50:59 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Subbsd <subbsd@gmail.com>
Cc:        freebsd-jail <freebsd-jail@freebsd.org>
Subject:   Re: ip settings not work for jail 'service' type
Message-ID:  <02CBAA19-5015-4A5A-B4BB-D3FA7EB4DB65@lists.zabbadoz.net>
In-Reply-To: <CAFt_eMpx3mk2ZQ=sKRFC8kEke%2BnDQqdrs8RaGFORkLuHcmdLfA@mail.gmail.com>
References:  <CAFt_eMpx3mk2ZQ=sKRFC8kEke%2BnDQqdrs8RaGFORkLuHcmdLfA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 20, 2011, at 10:03 PM, Subbsd wrote:

> Hi
>=20
> Jail configuration with "complete=94 works perfectly with IP4, IP6 and
> their secondary.
> But if try jailed 'service' - it does not work. For example:
>=20
> 1) have uncomment:
> ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd =
-l
>=20
> 2) have jail cfg like:
> jail_enable=3D"YES"
> jail_list=3D"example"             # Space separated list of names of =
jails
> jail_example_rootdir=3D"/"
> jail_example_hostname=3D"${hostname}"
> jail_example_interface=3D"lo0"
> jail_example_ip=3D"192.0.2.10"
> #jail_example_ip_multi0=3D"10.0.0.1" # secondary - shouldn't work?
> sockstat show *:21
> jail_example_exec_start=3D"service inetd onestart"
> jail_example_exec_stop=3D"service inetd onestop"
>=20
> 3)
> service jail start example

And does inetd run at that point?  Did it log anything to your logfiles?


>=20
> 4)
> ftp 192.0.2.10
> (no connection)
>=20
> I somewhere was mistaken or it shouldn't work? Thanks
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to =
"freebsd-jail-unsubscribe@freebsd.org"

--=20
Bjoern A. Zeeb                                 You have to have visions!
         Stop bit received. Insert coin for new address family.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02CBAA19-5015-4A5A-B4BB-D3FA7EB4DB65>