ip settings not work for jail 'service' type
Subbsd
subbsd at gmail.com
Thu Jul 21 14:35:33 UTC 2011
Hi
On 7/21/11, Bjoern A. Zeeb <bzeeb-lists at lists.zabbadoz.net> wrote:
>
> And does inetd run at that point? Did it log anything to your logfiles?
>
Yes, inetd in proccess list is available with binding on IP:port. In
/var/log/messages i see only
inetd[52312]: madvise() failed: Operation not permitted
I think inetd+ftpd was the bad example. Now i test with it:
jail_i1_ip="192.0.0.1/24"
jail_i1_exec_start="/usr/sbin/daemon /usr/sbin/inetd -d -p
/var/run/i1.pid /root/i1.conf -wW"
jail_i2_ip="192.0.0.2/24"
jail_i2_ip_multi0="10.0.0.11"
jail_i2_exec_start="/usr/sbin/daemon /usr/sbin/inetd -d -p
/var/run/i2.pid /root/i2.conf -wW"
/root/i{1,2}.conf have:
daytime stream tcp nowait root internal
and i get time after jail starting successfully via
telnet 192.0.0.1 daytime
telnet 192.0.0.2 daytime
telnet 10.0.0.11 daytime
Thanks for response. Now i see that all fine with ip settings)
More information about the freebsd-jail
mailing list