Sorry I should have mentioned he did this with ezjails. I have a FreeBSD 9.1 at home with ezjails but I can only test this tomorrow.
Valeri Galtsev <galt...@kicp.uchicago.edu> wrote: >Mine was FreeBSD 9.1, amd64, and "per jail" config didn't work for me. >I >configure jails in /etc/rc.conf and start them on boot by enabling them >in >/etc/rc.conf (jail_enable="YES"), or start, stop, restart using > >/etc/rc.d/jail [start|stop|restart] > >For those who didn't see previous discussion, it was about suggested by >one of real experts elegant per jail enabling access to raw sockets >which >should work if one does this > >>> > Putting this in /etc/rc.conf: >>> > >>> > jail_${JailName}_parameters="allow.raw_sockets=1" > >For me it didn't work, so I have to enable raw sockets this way: > >sysctl security.jail.allow_raw_sockets=1 > >and restart jail > >or by adding into /etc/sysctl.conf > >security.jail.allow_raw_sockets=1 > >downside: raw sockets enabled in all jails. > >Thanks. >Valeri > >On Sat, August 24, 2013 10:26 pm, Mike C. wrote: >> This host is Freebsd 8, and the config "per" jail doesn't work! >> >> However, I friend of mine confirmed me it does work on FreeBSD 9 >hosts! >> >> >> -- >> Melhores Cumprimentos // Best Regards >> >------------------------------------------------------------------------ >Miguel Clara >> *nix Sys Admin Freelance >> >> >> http://www.linkedin.com/in/miguelmclara/ >> http://about.me/miguelmclara >> >------------------------------------------------------------------------ >_______________________________________________ >> freebsd-jail@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-jail >> To unsubscribe, send any mail to >"freebsd-jail-unsubscr...@freebsd.org" >> > > >++++++++++++++++++++++++++++++++++++++++ >Valeri Galtsev >Sr System Administrator >Department of Astronomy and Astrophysics >Kavli Institute for Cosmological Physics >University of Chicago >Phone: 773-702-4247 >++++++++++++++++++++++++++++++++++++++++ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"